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

login
register
mail settings
Submitter Georg-Johann Lay
Date Jan. 28, 2013, 3:18 p.m.
Message ID <510696CA.6090203@gjlay.de>
Download mbox | patch
Permalink /patch/216228/
State New
Headers show

Comments

Georg-Johann Lay - Jan. 28, 2013, 3:18 p.m.
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:

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