From: Sandra Loosemore Date: Mon, 16 Feb 2015 03:47:54 +0000 (-0500) Subject: bugreport.texi: Adjust section titles throughout the file to use "Title Case". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6f3f526b13b7b54a64eafc6c8f67810e6f3f494;p=gcc.git bugreport.texi: Adjust section titles throughout the file to use "Title Case". 2015-02-15 Sandra Loosemore gcc/ * doc/bugreport.texi: Adjust section titles throughout the file to use "Title Case". * doc/extend.texi: Likewise. * doc/gcov.texi: Likewise. * doc/implement-c.texi: Likewise. * doc/implement-cxx.texi: Likewise. * doc/invoke.texi: Likewise. * doc/objc.texi: Likewise. * doc/standards.texi: Likewise. * doc/trouble.texi: Likewise. From-SVN: r220722 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b00aa30999a..893f1124c72 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2015-02-15 Sandra Loosemore + + * doc/bugreport.texi: Adjust section titles throughout the file + to use "Title Case". + * doc/extend.texi: Likewise. + * doc/gcov.texi: Likewise. + * doc/implement-c.texi: Likewise. + * doc/implement-cxx.texi: Likewise. + * doc/invoke.texi: Likewise. + * doc/objc.texi: Likewise. + * doc/standards.texi: Likewise. + * doc/trouble.texi: Likewise. + 2015-02-15 Jan Hubicka * cgraph.h (symtab_node::has_aliases_p): Simplify. diff --git a/gcc/doc/bugreport.texi b/gcc/doc/bugreport.texi index 4368c734378..6e02534efd7 100644 --- a/gcc/doc/bugreport.texi +++ b/gcc/doc/bugreport.texi @@ -82,7 +82,7 @@ suggestions for improvement of GCC are welcome in any case. @end itemize @node Bug Reporting -@section How and where to Report Bugs +@section How and Where to Report Bugs @cindex compiler bugs, reporting Bugs should be reported to the bug database at @value{BUGURL}. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index b06661ef7c5..e1b63696377 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -845,7 +845,7 @@ the middle operand uses the value already computed without the undesirable effects of recomputing it. @node __int128 -@section 128-bit integers +@section 128-bit Integers @cindex @code{__int128} data types As an extension the integer scalar type @code{__int128} is supported for @@ -1548,7 +1548,7 @@ struct foo d[1] = @{ @{ 1, @{ 2, 3, 4 @} @} @}; // @r{Invalid.} @end smallexample @node Empty Structures -@section Structures With No Members +@section Structures with No Members @cindex empty structures @cindex zero-size structures @@ -1786,7 +1786,7 @@ The option @option{-Wpointer-arith} requests a warning if these extensions are used. @node Pointers to Arrays -@section Pointers to arrays with qualifiers work as expected +@section Pointers to Arrays with Qualifiers Work as Expected @cindex pointers to arrays @cindex const qualifier @@ -8154,7 +8154,7 @@ You cannot operate between vectors of different lengths or different signedness without a cast. @node Offsetof -@section Offsetof +@section Support for @code{offsetof} @findex __builtin_offsetof GCC implements for both C and C++ a syntactic extension to implement @@ -8182,7 +8182,7 @@ may be dependent. In either case, @var{member} may consist of a single identifier, or a sequence of member accesses and array references. @node __sync Builtins -@section Legacy __sync Built-in Functions for Atomic Memory Access +@section Legacy @code{__sync} Built-in Functions for Atomic Memory Access The following built-in functions are intended to be compatible with those described @@ -8322,7 +8322,7 @@ are not prevented from being speculated to before the barrier. @end table @node __atomic Builtins -@section Built-in functions for memory model aware atomic operations +@section Built-in Functions for Memory Model Aware Atomic Operations The following built-in functions approximately match the requirements for C++11 memory model. Many are similar to the @samp{__sync} prefixed built-in @@ -8591,7 +8591,7 @@ compiler may also ignore this parameter. @end deftypefn @node Integer Overflow Builtins -@section Built-in functions to perform arithmetics and arithmetic overflow checking. +@section Built-in Functions to Perform Arithmetic with Overflow Checking The following built-in functions allow performing simple arithmetic operations together with checking whether the operations overflowed. @@ -8650,7 +8650,7 @@ functions above, except they perform multiplication, instead of addition. @end deftypefn @node x86 specific memory model extensions for transactional memory -@section x86 specific memory model extensions for transactional memory +@section x86-Specific Memory Model Extensions for Transactional Memory The x86 architecture supports additional memory ordering flags to mark lock critical sections for hardware lock elision. @@ -8986,7 +8986,7 @@ returns -1. @end deftypefn @node Cilk Plus Builtins -@section Cilk Plus C/C++ language extension Built-in Functions. +@section Cilk Plus C/C++ Language Extension Built-in Functions GCC provides support for the following built-in reduction funtions if Cilk Plus is enabled. Cilk Plus can be enabled using the @option{-fcilkplus} flag. @@ -11178,7 +11178,7 @@ number of an IACC register. See @pxref{Other Built-in Functions} for more details. @node Directly-mapped Integer Functions -@subsubsection Directly-mapped Integer Functions +@subsubsection Directly-Mapped Integer Functions The functions listed below map directly to FR-V I-type instructions. @@ -11217,7 +11217,7 @@ The functions listed below map directly to FR-V I-type instructions. @end multitable @node Directly-mapped Media Functions -@subsubsection Directly-mapped Media Functions +@subsubsection Directly-Mapped Media Functions The functions listed below map directly to FR-V M-type instructions. @@ -11490,7 +11490,7 @@ The functions listed below map directly to FR-V M-type instructions. @end multitable @node Raw read/write Functions -@subsubsection Raw read/write Functions +@subsubsection Raw Read/Write Functions This sections describes built-in functions related to read and write instructions to access memory. These functions generate @@ -17255,7 +17255,7 @@ int __builtin_ia32_xtest () @end smallexample @node x86 transactional memory intrinsics -@subsection x86 transaction memory intrinsics +@subsection x86 Transactional Memory Intrinsics Hardware transactional memory intrinsics for x86. These allow to use memory transactions with RTM (Restricted Transactional Memory). @@ -17946,7 +17946,7 @@ void ignore_vec_dep (int *a, int k, int c, int m) @node Unnamed Fields -@section Unnamed struct/union fields within structs/unions +@section Unnamed Structure and Union Fields @cindex @code{struct} @cindex @code{union} @@ -18287,7 +18287,7 @@ Non-@code{static} members shall not be @code{__thread}. @end itemize @node Binary constants -@section Binary constants using the @samp{0b} prefix +@section Binary Constants using the @samp{0b} Prefix @cindex Binary constants using the @samp{0b} prefix Integer constants can be written as binary constants, consisting of a @@ -18522,7 +18522,7 @@ almost certainly breaks things. another way to control placement of these constructs. @node C++ Interface -@section #pragma interface and implementation +@section C++ Interface and Implementation Pragmas @cindex interface and implementation headers, C++ @cindex C++ interface and implementation headers @@ -18757,7 +18757,7 @@ duplication. @end enumerate @node Bound member functions -@section Extracting the function pointer from a bound pointer to member function +@section Extracting the Function Pointer from a Bound Pointer to Member Function @cindex pmf @cindex pointer to member function @cindex bound pointer to member function diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi index 935cb68f67f..dba36e0b972 100644 --- a/gcc/doc/gcov.texi +++ b/gcc/doc/gcov.texi @@ -591,7 +591,7 @@ collected at that point to be dumped to @file{.gcda} output files. @c man end @node Gcov Data Files -@section Brief description of @command{gcov} data files +@section Brief Description of @command{gcov} Data Files @command{gcov} uses two files for profiling. The names of these files are derived from the original @emph{object} file by substituting the @@ -618,7 +618,7 @@ and functions provided in that header file should be used to access the coverage files. @node Cross-profiling -@section Data file relocation to support cross-profiling +@section Data File Relocation to Support Cross-Profiling Running the program will cause profile output to be generated. For each source file compiled with @option{-fprofile-arcs}, an accompanying @file{.gcda} diff --git a/gcc/doc/implement-c.texi b/gcc/doc/implement-c.texi index 39361e011be..333651f7644 100644 --- a/gcc/doc/implement-c.texi +++ b/gcc/doc/implement-c.texi @@ -3,7 +3,7 @@ @c For copying conditions, see the file gcc.texi. @node C Implementation -@chapter C Implementation-defined behavior +@chapter C Implementation-Defined Behavior @cindex implementation-defined behavior, C language A conforming implementation of ISO C is required to document its @@ -279,7 +279,7 @@ truncated towards zero. @end itemize @node Floating point implementation -@section Floating point +@section Floating Point @itemize @bullet @item @@ -375,7 +375,7 @@ defined by GCC itself. @end itemize @node Arrays and pointers implementation -@section Arrays and pointers +@section Arrays and Pointers @itemize @bullet @item @@ -455,7 +455,7 @@ used to determine if a function has not been inlined and why not. @end itemize @node Structures unions enumerations and bit-fields implementation -@section Structures, unions, enumerations, and bit-fields +@section Structures, Unions, Enumerations, and Bit-Fields @itemize @bullet @item @@ -601,7 +601,7 @@ GCC is only limited by available memory. @end itemize @node Preprocessing directives implementation -@section Preprocessing directives +@section Preprocessing Directives @xref{Implementation-defined behavior, , Implementation-defined behavior, cpp, The C Preprocessor}, for details of these aspects of @@ -665,7 +665,7 @@ respectively, the date and time of translation are not available (C90 @end itemize @node Library functions implementation -@section Library functions +@section Library Functions The behavior of most of these points are dependent on the implementation of the C library, and are not defined by GCC itself. @@ -732,7 +732,7 @@ Determined by ABI@. @end itemize @node Locale-specific behavior implementation -@section Locale-specific behavior +@section Locale-Specific Behavior The behavior of these points are dependent on the implementation of the C library, and are not defined by GCC itself. diff --git a/gcc/doc/implement-cxx.texi b/gcc/doc/implement-cxx.texi index 54e33a843db..66176e56369 100644 --- a/gcc/doc/implement-cxx.texi +++ b/gcc/doc/implement-cxx.texi @@ -3,7 +3,7 @@ @c For copying conditions, see the file gcc.texi. @node C++ Implementation -@chapter C++ Implementation-defined behavior +@chapter C++ Implementation-Defined Behavior @cindex implementation-defined behavior, C++ language A conforming implementation of ISO C++ is required to document its @@ -31,7 +31,7 @@ environment); refer to their documentation for details. @end menu @node Conditionally-supported behavior -@section Conditionally-supported behavior +@section Conditionally-Supported Behavior @cite{Each implementation shall include documentation that identifies all conditionally-supported constructs that it does not support (C++0x @@ -49,7 +49,7 @@ arguments of such types. @end itemize @node Exception handling -@section Exception handling +@section Exception Handling @itemize @bullet @item diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 5cce4f73634..62bcece309a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11334,7 +11334,7 @@ independent. @c man end @node Spec Files -@section Specifying subprocesses and the switches to pass to them +@section Specifying Subprocesses and the Switches to Pass to Them @cindex Spec Files @command{gcc} is a driver program. It performs its job by invoking a @@ -12145,7 +12145,7 @@ with @option{-march} or @option{-mtune}, those options take precedence over the appropriate part of this option. @end table -@subsubsection @option{-march} and @option{-mcpu} feature modifiers +@subsubsection @option{-march} and @option{-mcpu} Feature Modifiers @cindex @option{-march} feature modifiers @cindex @option{-mcpu} feature modifiers Feature modifiers used with @option{-march} and @option{-mcpu} can be one @@ -13386,7 +13386,7 @@ Warn about conversions between address spaces in the case where the resulting address space is not contained in the incoming address space. @end table -@subsubsection @code{EIND} and Devices with more than 128 Ki Bytes of Flash +@subsubsection @code{EIND} and Devices with More Than 128 Ki Bytes of Flash @cindex @code{EIND} Pointers in the implementation are 16@tie{}bits wide. The address of a function or label is represented as word address so diff --git a/gcc/doc/objc.texi b/gcc/doc/objc.texi index dba491685d3..5588f67da5f 100644 --- a/gcc/doc/objc.texi +++ b/gcc/doc/objc.texi @@ -5,7 +5,7 @@ @node Objective-C @comment node-name, next, previous, up -@chapter GNU Objective-C features +@chapter GNU Objective-C Features This document is meant to describe some of the GNU Objective-C features. It is not intended to teach you Objective-C. There are @@ -26,7 +26,7 @@ several resources on the Internet that present the language. @c ========================================================================= @node GNU Objective-C runtime API -@section GNU Objective-C runtime API +@section GNU Objective-C Runtime API This section is specific for the GNU Objective-C runtime. If you are using a different runtime, you can skip it. @@ -50,7 +50,7 @@ to the GNU Objective-C runtime API to define new classes or methods. @c ========================================================================= @node Modern GNU Objective-C runtime API -@subsection Modern GNU Objective-C runtime API +@subsection Modern GNU Objective-C Runtime API The GNU Objective-C runtime provides an API which is similar to the one provided by the ``Objective-C 2.0'' Apple/NeXT Objective-C @@ -109,7 +109,7 @@ the GNU Objective-C runtime API. @c ========================================================================= @node Traditional GNU Objective-C runtime API -@subsection Traditional GNU Objective-C runtime API +@subsection Traditional GNU Objective-C Runtime API The GNU Objective-C runtime used to provide a different API, which we call the ``traditional'' GNU Objective-C runtime API. Functions @@ -124,7 +124,7 @@ available. @c ========================================================================= @node Executing code before main -@section @code{+load}: Executing code before main +@section @code{+load}: Executing Code before @code{main} This section is specific for the GNU Objective-C runtime. If you are using a different runtime, you can skip it. @@ -208,7 +208,7 @@ instead of @code{+initialize}. @node What you can and what you cannot do in +load -@subsection What you can and what you cannot do in @code{+load} +@subsection What You Can and Cannot Do in @code{+load} @code{+load} is to be used only as a last resort. Because it is executed very early, most of the Objective-C runtime machinery will @@ -279,7 +279,7 @@ above apply to classes defined in bundle. @node Type encoding -@section Type encoding +@section Type Encoding This is an advanced section. Type encodings are used extensively by the compiler and by the runtime, but you generally do not need to know @@ -487,7 +487,7 @@ as @code{*}, and the @code{const} is lost. @end menu @node Legacy type encoding -@subsection Legacy type encoding +@subsection Legacy Type Encoding Unfortunately, historically GCC used to have a number of bugs in its encoding code. The NeXT runtime expects GCC to emit type encodings in @@ -518,7 +518,7 @@ bitfields. It encodes them as @code{b} followed by the size, without a bit offset or the underlying field type. @node @@encode -@subsection @@encode +@subsection @code{@@encode} GNU Objective-C supports the @code{@@encode} syntax that allows you to create a type encoding from a C/Objective-C type. For example, @@ -530,7 +530,7 @@ is compiled into @code{"r*"}, while @code{@@encode(bycopy char *)} is invalid and will cause a compilation error. @node Method signatures -@subsection Method signatures +@subsection Method Signatures This section documents the encoding of method types, which is rarely needed to use Objective-C. You should skip it at a first reading; the @@ -660,7 +660,7 @@ as argument. @c ========================================================================= @node Constant string objects -@section Constant string objects +@section Constant String Objects GNU Objective-C provides constant string objects that are generated directly by the compiler. You declare a constant string object by @@ -721,7 +721,7 @@ restrictions in doing this. @c ========================================================================= @node compatibility_alias -@section compatibility_alias +@section @code{compatibility_alias} The keyword @code{@@compatibility_alias} allows you to define a class name as equivalent to another class name. For example: @@ -858,7 +858,7 @@ exceptions enabled, that is with the command line option @c ========================================================================= @node Fast enumeration -@section Fast enumeration +@section Fast Enumeration @menu * Using fast enumeration:: @@ -869,7 +869,7 @@ exceptions enabled, that is with the command line option @c ================================ @node Using fast enumeration -@subsection Using fast enumeration +@subsection Using Fast Enumeration GNU Objective-C provides support for the fast enumeration syntax: @@ -909,7 +909,7 @@ provides the implementation of @code{NSArray}, @code{NSString} and @c ================================ @node c99-like fast enumeration syntax -@subsection c99-like fast enumeration syntax +@subsection C99-Like Fast Enumeration Syntax A c99-like declaration syntax is also allowed: @@ -943,7 +943,7 @@ syntax in Objective-C. @c ================================ @node Fast enumeration details -@subsection Fast enumeration details +@subsection Fast Enumeration Details Here is a more technical description with the gory details. Consider the code @@ -1006,7 +1006,7 @@ something different, such as raising an exception. @c ================================ @node Fast enumeration protocol -@subsection Fast enumeration protocol +@subsection Fast Enumeration Protocol If you want your own collection object to be usable with fast enumeration, you need to have it implement the method @@ -1076,7 +1076,7 @@ to be of type @code{unsigned int} and everything would still work. @c ========================================================================= @node Messaging with the GNU Objective-C runtime -@section Messaging with the GNU Objective-C runtime +@section Messaging with the GNU Objective-C Runtime This section is specific for the GNU Objective-C runtime. If you are using a different runtime, you can skip it. @@ -1107,7 +1107,7 @@ then it calls it. @c ========================================================================= @node Dynamically registering methods -@subsection Dynamically registering methods +@subsection Dynamically Registering Methods If @code{objc_msg_lookup()} does not find a suitable method implementation, because the receiver does not implement the required @@ -1153,7 +1153,7 @@ GCC version 4.6. @c ========================================================================= @node Forwarding hook -@subsection Forwarding hook +@subsection Forwarding Hook The GNU Objective-C runtime provides a hook, called @code{__objc_msg_forward2}, which is called by diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index c791f59de46..f55e24c3356 100644 --- a/gcc/doc/standards.texi +++ b/gcc/doc/standards.texi @@ -9,7 +9,7 @@ For each language compiled by GCC for which there is a standard, GCC attempts to follow one or more versions of that standard, possibly with some exceptions, and possibly with some extensions. -@section C language +@section C Language @cindex C standard @cindex C standards @cindex ANSI C standard @@ -169,7 +169,7 @@ For references to Technical Corrigenda, Rationale documents and information concerning the history of C that is available online, see @uref{http://gcc.gnu.org/readings.html} -@section C++ language +@section C++ Language GCC supports the original ISO C++ standard (1998) and contains experimental support for the second ISO C++ standard (2011). @@ -208,7 +208,7 @@ may also select an extended version of the C++ language explicitly with @option{-std=gnu++11} (for C++11 with GNU extensions). The default, if no C++ language dialect options are given, is @option{-std=gnu++98}. -@section Objective-C and Objective-C++ languages +@section Objective-C and Objective-C++ Languages @cindex Objective-C @cindex Objective-C++ @@ -275,12 +275,12 @@ The authoritative manual on Objective-C 2.0 is available from Apple: For more information concerning the history of Objective-C that is available online, see @uref{http://gcc.gnu.org/readings.html} -@section Go language +@section Go Language As of the GCC 4.7.1 release, GCC supports the Go 1 language standard, described at @uref{http://golang.org/doc/go1.html}. -@section References for other languages +@section References for Other Languages @xref{Top, GNAT Reference Manual, About This Guide, gnat_rm, GNAT Reference Manual}, for information on standard diff --git a/gcc/doc/trouble.texi b/gcc/doc/trouble.texi index f42a7828ef2..f2baff477d5 100644 --- a/gcc/doc/trouble.texi +++ b/gcc/doc/trouble.texi @@ -676,7 +676,7 @@ symbols any static data members that lack definitions. @node Name lookup -@subsection Name lookup, templates, and accessing members of base classes +@subsection Name Lookup, Templates, and Accessing Members of Base Classes @cindex base class members @cindex two-stage name lookup