This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed][DOC PATCH] Fix typo in example (PR c/35449)
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Mar 2014 17:45:29 +0100
- Subject: [committed][DOC PATCH] Fix typo in example (PR c/35449)
- Authentication-results: sourceware.org; auth=none
I'm applying this as obvious.
2014-03-25 Marek Polacek <polacek@redhat.com>
PR c/35449
* doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.
diff --git gcc/doc/extend.texi gcc/doc/extend.texi
index 986cc94..c0da713 100644
--- gcc/doc/extend.texi
+++ 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
Marek