summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-25 16:50:54 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-25 16:50:54 +0000
commitc7555cabfc888bbd7ac61bdc92d91c86debcaa0d (patch)
tree7db6509baece6e38518ebcb9dd346ea28faa5097 /gcc/doc
parent0c1c099299d2ea38a5b7d11d44bedb0f30debafc (diff)
downloadgcc-c7555cabfc888bbd7ac61bdc92d91c86debcaa0d.tar.gz
PR c/35449
* doc/extend.texi (Example of asm with clobbered asm reg): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208815 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 986cc94e360..c0da713e821 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -6343,7 +6343,7 @@ int foo ()
int *y = &x;
int result;
asm ("magic stuff accessing an 'int' pointed to by '%1'"
- : "=&d" (r) : "a" (y), "m" (*y));
+ : "=&d" (result) : "a" (y), "m" (*y));
return result;
@}
@end smallexample