This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]