From 4460b2dc61de31c84b9a25464eea06be0567c0db Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Sun, 22 Mar 2015 21:12:06 -0400 Subject: [PATCH] cpp.texi (Search Path): Hyphenate "command-line" when used as an adjective. 2015-03-22 Sandra Loosemore gcc/ * doc/cpp.texi (Search Path): Hyphenate "command-line" when used as an adjective. (System Headers): Likewise. (Ifdef): Likewise. (Traditional macros): Likewise. (Invocation): Likewise. (Option Index): Likewise. * doc/cppopts.texi (-M): Likewise. (-finput-charset): Likewise. (--help): Likewise. * doc.invoke.texi (AVR Options): Likewise. (V850 Options): Likewise. From-SVN: r221583 --- gcc/ChangeLog | 15 +++++++++++++++ gcc/doc/cpp.texi | 16 ++++++++-------- gcc/doc/cppopts.texi | 6 +++--- gcc/doc/invoke.texi | 14 +++++++------- 4 files changed, 33 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02562e34e35..a42d22a1ca8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,18 @@ +2015-03-22 Sandra Loosemore + + * doc/cpp.texi (Search Path): Hyphenate "command-line" when used + as an adjective. + (System Headers): Likewise. + (Ifdef): Likewise. + (Traditional macros): Likewise. + (Invocation): Likewise. + (Option Index): Likewise. + * doc/cppopts.texi (-M): Likewise. + (-finput-charset): Likewise. + (--help): Likewise. + * doc.invoke.texi (AVR Options): Likewise. + (V850 Options): Likewise. + 2015-03-22 Jan Hubicka PR ipa/65475 diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 10b72e7e61b..118ba7c2130 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -858,7 +858,7 @@ GCC was configured to compile code for; often but not always the same as the canonical name of the system it runs on. @var{version} is the version of GCC in use. -You can add to this list with the @option{-I@var{dir}} command line +You can add to this list with the @option{-I@var{dir}} command-line option. All the directories named by @option{-I} are searched, in left-to-right order, @emph{before} the default directories. The only exception is when @file{dir} is already searched by default. In @@ -1147,7 +1147,7 @@ Normally, only the headers found in specific directories are considered system headers. These directories are determined when GCC is compiled. There are, however, two ways to make normal headers into system headers. -The @option{-isystem} command line option adds its argument to the list of +The @option{-isystem} command-line option adds its argument to the list of directories to search for headers, just like @option{-I}. Any headers found in that directory will be considered system headers. @@ -3217,11 +3217,11 @@ using a system feature on a machine where it is not implemented. @item Macros can be defined or undefined with the @option{-D} and @option{-U} -command line options when you compile the program. You can arrange to +command-line options when you compile the program. You can arrange to compile the same source file into two different programs by choosing a macro name to specify which program you want, writing conditionals to test whether or how this macro is defined, and then controlling the -state of the macro with command line options, perhaps set in the +state of the macro with command-line options, perhaps set in the Makefile. @xref{Invocation}. @item @@ -3904,7 +3904,7 @@ produce a single token. Normally comments are removed from the replacement text after the macro is expanded, but if the @option{-CC} option is passed on the -command line comments are preserved. (In fact, the current +command-line comments are preserved. (In fact, the current implementation removes comments even before saving the macro replacement text, but it careful to do it in such a way that the observed effect is identical even in the function-like macro case.) @@ -4325,7 +4325,7 @@ leaving out the answer: In either form, if no such assertion has been made, @samp{#unassert} has no effect. -You can also make or cancel assertions using command line options. +You can also make or cancel assertions using command-line options. @xref{Invocation}. @node Differences from previous versions @@ -4433,7 +4433,7 @@ file. @emph{Note:} Whether you use the preprocessor by way of @command{gcc} or @command{cpp}, the @dfn{compiler driver} is run first. This program's purpose is to translate your command into invocations of the -programs that do the actual work. Their command line interfaces are +programs that do the actual work. Their command-line interfaces are similar but not identical to the documented interface, and may change without notice. @@ -4513,7 +4513,7 @@ configuration of GCC@. @node Option Index @unnumbered Option Index @noindent -CPP's command line options and environment variables are indexed here +CPP's command-line options and environment variables are indexed here without any initial @samp{-} or @samp{--}. @printindex op diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi index 520f38a2321..40e6443cbb0 100644 --- a/gcc/doc/cppopts.texi +++ b/gcc/doc/cppopts.texi @@ -194,7 +194,7 @@ suitable for @command{make} describing the dependencies of the main source file. The preprocessor outputs one @command{make} rule containing the object file name for that source file, a colon, and the names of all the included files, including those coming from @option{-include} or -@option{-imacros} command line options. +@option{-imacros} command-line options. Unless specified explicitly (with @option{-MT} or @option{-MQ}), the object file name consists of the name of the source file with any @@ -645,7 +645,7 @@ Set the input character set, used for translation from the character set of the input file to the source character set used by GCC@. If the locale does not specify, or GCC cannot get this information from the locale, the default is UTF-8. This can be overridden by either the locale -or this command line option. Currently the command line option takes +or this command-line option. Currently the command-line option takes precedence if there's a conflict. @var{charset} can be any encoding supported by the system's @code{iconv} library routine. @@ -811,7 +811,7 @@ short file names, such as MS-DOS@. @itemx --target-help @opindex help @opindex target-help -Print text describing all the command line options instead of +Print text describing all the command-line options instead of preprocessing anything. @item -v diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 5c6e410aa4a..4bbd3fc1888 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -13901,7 +13901,7 @@ The device has the @code{RAMPD}, @code{RAMPX}, @code{RAMPY}, @code{RAMPZ} special function register, respectively. @item __NO_INTERRUPTS__ -This macro reflects the @option{-mno-interrupts} command line option. +This macro reflects the @option{-mno-interrupts} command-line option. @item __AVR_ERRATA_SKIP__ @itemx __AVR_ERRATA_SKIP_JMP_CALL__ @@ -21629,7 +21629,7 @@ then the C preprocessor symbol @code{__V850_CALLT__} is defined. @itemx -mno-relax @opindex mrelax @opindex mno-relax -Pass on (or do not pass on) the @option{-mrelax} command line option +Pass on (or do not pass on) the @option{-mrelax} command-line option to the assembler. @item -mlong-jumps @@ -21675,11 +21675,11 @@ value. Functions are aligned to 16-bit boundaries. @item -The @option{-m8byte-align} command line option is supported. +The @option{-m8byte-align} command-line option is supported. @item -The @option{-mdisable-callt} command line option is enabled by -default. The @option{-mno-disable-callt} command line option is not +The @option{-mdisable-callt} command-line option is enabled by +default. The @option{-mno-disable-callt} command-line option is not supported. @end itemize @@ -21704,10 +21704,10 @@ Functions are aligned to 32-bit boundaries, unless optimizing for size. @item -The @option{-m8byte-align} command line option is not supported. +The @option{-m8byte-align} command-line option is not supported. @item -The @option{-mdisable-callt} command line option is supported but not +The @option{-mdisable-callt} command-line option is supported but not enabled by default. @end itemize -- 2.30.2