This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [doc,committed] Fix missing ':' in inline asm example
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 Jan 2013 16:18:34 +0100
- Subject: Re: [doc,committed] Fix missing ':' in inline asm example
- References: <5102CC58.1010801@gjlay.de>
Georg-Johann Lay wrote:
> Applied as obvious:
>
> http://gcc.gnu.org/r195471
>
>
> * doc/extend.texi (Example of asm with clobbered asm reg): Fix
> missing ':' in asm example.
>
The patch:
--- trunk/gcc/doc/extend.texi 2013/01/25 17:55:09 195470
+++ trunk/gcc/doc/extend.texi 2013/01/25 18:11:53 195471
@@ -6062,7 +6062,7 @@
int *y = &x;
int result;
asm ("magic stuff accessing an 'int' pointed to by '%1'"
- "=&d" (r) : "a" (y), "m" (*y));
+ : "=&d" (r) : "a" (y), "m" (*y));
return result;
@}
@end smallexample