diff mbox

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

Message ID 510696CA.6090203@gjlay.de
State New
Headers show

Commit Message

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

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