[doc,committed] Fix missing ':' in inline asm example

Georg-Johann Lay avr@gjlay.de
Mon Jan 28 15:18:00 GMT 2013


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



More information about the Gcc-patches mailing list