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]

[doc, committed] fix typos in extended asm section


I've checked in this patch to fix a couple more typos in the extended asm documentation, as noted by David.

-Sandra

2015-02-10  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/extend.texi (Extended Asm): Fix typos.

Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi	(revision 220598)
+++ gcc/doc/extend.texi	(working copy)
@@ -7063,7 +7063,7 @@ within the same @code{asm} statement can
 When not using an @var{asmSymbolicName}, use the (zero-based) position
 of the operand 
 in the list of operands in the assembler template. For example if there are
-two output opeerands and three inputs,
+two output operands and three inputs,
 use @samp{%2} in the template to refer to the first input operand,
 @samp{%3} for the second, and @samp{%4} for the third. 
 
@@ -7099,7 +7099,7 @@ consecutive colons where the output oper
 @example
 __asm__ ("some instructions"
    : /* No outputs. */
-   : "r" (Offset / 8);
+   : "r" (Offset / 8));
 @end example
 
 @strong{Warning:} Do @emph{not} modify the contents of input-only operands 

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