[committed,DOC] Fix typo in example (PR c/35449)

Submitted by Marek Polacek on March 25, 2014, 4:45 p.m.

Details

Message ID 20140325164528.GT6523@redhat.com
State New
Headers show

Commit Message

Marek Polacek March 25, 2014, 4:45 p.m.
I'm applying this as obvious.

2014-03-25  Marek Polacek  <polacek@redhat.com>

	PR c/35449
	* doc/extend.texi (Example of asm with clobbered asm reg): Fix typo.


	Marek

Patch hide | download patch | download mbox

diff --git gcc/doc/extend.texi gcc/doc/extend.texi
index 986cc94..c0da713 100644
--- gcc/doc/extend.texi
+++ gcc/doc/extend.texi
@@ -6343,7 +6343,7 @@  int foo ()
   int *y = &x;
   int result;
   asm ("magic stuff accessing an 'int' pointed to by '%1'"
-       : "=&d" (r) : "a" (y), "m" (*y));
+       : "=&d" (result) : "a" (y), "m" (*y));
   return result;
 @}
 @end smallexample