From: Mike Stump Date: Mon, 22 Jul 2013 17:46:05 +0000 (+0000) Subject: Fix typos. X-Git-Tag: releases/gcc-4.9.0~4902 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5bd40ade0fcd11208d6d3d84fed50d5819e8992a;p=thirdparty%2Fgcc.git Fix typos. From-SVN: r201141 --- diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 848cc0ee0e34..4dfaaa8a1a37 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -16489,7 +16489,7 @@ namespace std @{ template struct A @{ @}; @} using namespace debug __attribute ((__strong__)); - template <> struct A @{ @}; // @r{ok to specialize} + template <> struct A @{ @}; // @r{OK to specialize} template void f (A); @} diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 8829b0e3493a..f14e11f6166e 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -3086,7 +3086,7 @@ code output, can produce insns whose patterns consist of a @code{parallel} whose elements are the operands needed to output the resulting assembler code---often @code{reg}, @code{mem} or constant expressions. This would not be well-formed RTL at any other stage in compilation, -but it is ok then because no further optimization remains to be done. +but it is OK then because no further optimization remains to be done. However, the definition of the macro @code{NOTICE_UPDATE_CC}, if any, must deal with such insns if you define any peephole optimizations. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index a1010b7c2da4..69e7e03cf687 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -4959,7 +4959,7 @@ the function prologue. Normally, the profiling code comes after. @cindex tail calls @deftypefn {Target Hook} bool TARGET_FUNCTION_OK_FOR_SIBCALL (tree @var{decl}, tree @var{exp}) -True if it is ok to do sibling call optimization for the specified +True if it is OK to do sibling call optimization for the specified call expression @var{exp}. @var{decl} will be the called function, or @code{NULL} if this is an indirect call. @@ -9861,7 +9861,7 @@ needed. @deftypefn {Target Hook} bool TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P (const_tree @var{fndecl}) @cindex inlining -This target hook returns @code{true} if it is ok to inline @var{fndecl} +This target hook returns @code{true} if it is OK to inline @var{fndecl} into the current function, despite its having target-specific attributes, @code{false} otherwise. By default, if a function has a target specific attribute attached to it, it will not be inlined. diff --git a/gcc/target.def b/gcc/target.def index e18ef87b5ccd..561506f203e7 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -1880,7 +1880,7 @@ needed.", DEFHOOK (function_attribute_inlinable_p, "@cindex inlining\n\ -This target hook returns @code{true} if it is ok to inline @var{fndecl}\n\ +This target hook returns @code{true} if it is OK to inline @var{fndecl}\n\ into the current function, despite its having target-specific\n\ attributes, @code{false} otherwise. By default, if a function has a\n\ target specific attribute attached to it, it will not be inlined.", @@ -2529,7 +2529,7 @@ The default value of this hook is based on target's libc.", this is an indirect call. */ DEFHOOK (function_ok_for_sibcall, - "True if it is ok to do sibling call optimization for the specified\n\ + "True if it is OK to do sibling call optimization for the specified\n\ call expression @var{exp}. @var{decl} will be the called function,\n\ or @code{NULL} if this is an indirect call.\n\ \n\