aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2016-12-27 15:37:05 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2016-12-27 15:37:05 -0500
commitab4bb1b30019f18efec222d2ab3d3c91d2a98622 (patch)
treed9448d9e02fd28e9ab7660ca7b972a3c2999263a
parent14d2ec8ffbc6116cee58d94f27ed1647c26e1471 (diff)
downloadgcc-ab4bb1b30019f18efec222d2ab3d3c91d2a98622.zip
gcc-ab4bb1b30019f18efec222d2ab3d3c91d2a98622.tar.gz
gcc-ab4bb1b30019f18efec222d2ab3d3c91d2a98622.tar.bz2
cppopts.texi: Delete redundant documentation for -x.
2016-12-27 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/cppopts.texi: Delete redundant documentation for -x. Move -fno-show-column documentation to... * doc/invoke.texi (Diagnostic Message Formatting Options): ...here. Update the option summary. From-SVN: r243944
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/doc/cppopts.texi25
-rw-r--r--gcc/doc/invoke.texi9
3 files changed, 15 insertions, 26 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1e894a2..1f17c9e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2016-12-27 Sandra Loosemore <sandra@codesourcery.com>
+
+ * doc/cppopts.texi: Delete redundant documentation for -x. Move
+ -fno-show-column documentation to...
+ * doc/invoke.texi (Diagnostic Message Formatting Options): ...here.
+ Update the option summary.
+
2016-12-27 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (VI_512): Remove.
diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi
index 567a748..7de6ca1 100644
--- a/gcc/doc/cppopts.texi
+++ b/gcc/doc/cppopts.texi
@@ -297,25 +297,6 @@ location. The filename may be absolute or it may be relative to GCC's
current directory.
@end ifclear
-@item -x c
-@itemx -x c++
-@itemx -x objective-c
-@itemx -x assembler-with-cpp
-@opindex x
-Specify the source language: C, C++, Objective-C, or assembly. This has
-nothing to do with standards conformance or extensions; it merely
-selects which base syntax to expect. If you give none of these options,
-cpp will deduce the language from the extension of the source file:
-@samp{.c}, @samp{.cc}, @samp{.m}, or @samp{.S}. Some other common
-extensions for C++ and assembly are also recognized. If cpp does not
-recognize the extension, it will treat the file as C; this is the most
-generic mode.
-
-@emph{Note:} Previous versions of cpp accepted a @option{-lang} option
-which selected both the language and the standards conformance level.
-This option has been removed, because it conflicts with the @option{-l}
-option.
-
@item -I-
@opindex I-
Split the include path. Any directories specified with @option{-I}
@@ -564,12 +545,6 @@ form @option{-fno-working-directory}. If the @option{-P} flag is
present in the command line, this option has no effect, since no
@code{#line} directives are emitted whatsoever.
-@item -fno-show-column
-@opindex fno-show-column
-Do not print column numbers in diagnostics. This may be necessary if
-diagnostics are being scanned by a program that does not understand the
-column numbers, such as @command{dejagnu}.
-
@item -A @var{predicate}=@var{answer}
@opindex A
Make an assertion with the predicate @var{predicate} and answer
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index b2769145..1d5b04d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -250,7 +250,8 @@ Objective-C and Objective-C++ Dialects}.
-fdiagnostics-show-location=@r{[}once@r{|}every-line@r{]} @gol
-fdiagnostics-color=@r{[}auto@r{|}never@r{|}always@r{]} @gol
-fno-diagnostics-show-option -fno-diagnostics-show-caret @gol
--fdiagnostics-parseable-fixits -fdiagnostics-generate-patch}
+-fdiagnostics-parseable-fixits -fdiagnostics-generate-patch @gol
+-fno-show-column}
@item Warning Options
@xref{Warning Options,,Options to Request or Suppress Warnings}.
@@ -3546,6 +3547,12 @@ are printed. For example:
The diff may or may not be colorized, following the same rules
as for diagnostics (see @option{-fdiagnostics-color}).
+@item -fno-show-column
+@opindex fno-show-column
+Do not print column numbers in diagnostics. This may be necessary if
+diagnostics are being scanned by a program that does not understand the
+column numbers, such as @command{dejagnu}.
+
@end table
@node Warning Options