]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc.c (C specs): Pass -f(no-)show-column to the preprocessor.
authorZack Weinberg <zack@wolery.cumb.org>
Mon, 3 Apr 2000 23:03:20 +0000 (23:03 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 3 Apr 2000 23:03:20 +0000 (23:03 +0000)
* gcc.c (C specs): Pass -f(no-)show-column to the
          preprocessor.
* ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h,
objc/lang-specs.h: Likewise.

* gcc.dg/cpp-redef-2.c, gcc.dg/cpp-tradwarn1.c,
gcc.dg/cpp-unc.c: Add -fno-show-column to compiler options.

From-SVN: r32891

12 files changed:
gcc/ChangeLog
gcc/ch/lang-specs.h
gcc/cp/ChangeLog
gcc/cp/lang-specs.h
gcc/f/ChangeLog
gcc/f/lang-specs.h
gcc/gcc.c
gcc/objc/lang-specs.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp-redef-2.c
gcc/testsuite/gcc.dg/cpp-tradwarn1.c
gcc/testsuite/gcc.dg/cpp-unc.c

index a0fca72da1acfe9175fe68f2057fcbf26ff432ae..c19dc3e626afe8cd4729f115498f0b6a32e6830b 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
+       * objc/lang-specs.h: Likewise.
+
 2000-04-03  Neil Booth  <NeilB@earthling.net>
 
        * cppexp.c: wrap long lines.  New macros CPP_ICE, SYNTAX_ERROR
index 1b377f57aeb09c8a4fbfbbd4aa0f7b4c5eb70251..f5bbd61ab68b1527094f2c550e7b6844c990441a 100644 (file)
@@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA.  */
         %{!no-gcc:-D__GNUCHILL__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3}\
         %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:-D__OPTIMIZE__} %{traditional} %{ftraditional:-traditional}\
         %{traditional-cpp:-traditional} %{!undef:%{!ansi:%p} %P} %{trigraphs}\
+       %{fshow-column} %{fno-show-column}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %{!E:%g.i}%{E:%W{o*}} \n",
    "%{!E:cc1chill %g.i %1 \
index da0b96f90ab749d2760b39a5773dd4f66e2f47d8..1a74fea1c439afd30591b5f19b5971d46208a856 100644 (file)
@@ -1,3 +1,7 @@
+2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * lang-specs.h: Pass -fno-show-column to the preprocessor.
+
 2000-03-30  Nathan Sidwell  <nathan@codesourcery.com>
 
        * rtti.c (class_hint_flags): Rename flags.
index c3a81b142dfd2f3470188d332f261a05b7719e61..804a079d5743176f99e9d155ebccfa40b374150b 100644 (file)
@@ -78,6 +78,7 @@ Boston, MA 02111-1307, USA.  */
         %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} %{trigraphs}\
        %{ffast-math:-D__FAST_MATH__}\
        %{fshort-wchar:-D__WCHAR_TYPE__=short\\ unsigned\\ int}\
+       %{fshow-column} %{fno-show-column}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %{!M:%{!MM:%{!E:%{!pipe:%g.ii}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n",
     "%{!M:%{!MM:%{!E:cc1plus %{!pipe:%g.ii} %1 %2\
index 0aa1ed176ef44d2bee3ea1d8563efa27e97ebb98..05f420a2b928a3a5302b42c38e046bfb414a21a4 100644 (file)
@@ -1,3 +1,7 @@
+2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * lang-specs.h: Pass -fno-show-column to the preprocessor.
+
 2000-03-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        * com.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL.
index 4ee06574ff8835007b526951b14f286762e6bbc0..ed715cb5ad60107f1249a4f002b5238d654ea29b 100644 (file)
@@ -43,6 +43,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
        %{!undef:%P} -D_LANGUAGE_FORTRAN %{trigraphs} \
        %c %{Os:-D__OPTIMIZE_SIZE__} %{O*:%{!O0:-D__OPTIMIZE__}} -traditional\
        %{ffast-math:-D__FAST_MATH__}\
+       %{fshow-column} %{fno-show-column}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
        %i %{!M:%{!MM:%{!E:%{!pipe:%g.i}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n",
     "%{!M:%{!MM:%{!E:f771 %{!pipe:%g.i} %1 %(f771) \
index a089abaa0e1ce004bd12683a8c22da4dcf0a987d..a5e6bbe4e5f8d512117cf135d27b80a07de0615c 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -631,6 +631,7 @@ static struct compiler default_compilers[] =
         %{traditional} %{ftraditional:-traditional}\
         %{traditional-cpp:-traditional}\
        %{fleading-underscore} %{fno-leading-underscore}\
+       %{fshow-column} %{fno-show-column}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n}\
       %{!E:%{!M:%{!MM:cc1 %i %1 \
@@ -667,6 +668,7 @@ static struct compiler default_compilers[] =
        %{fshort-wchar:-D__WCHAR_TYPE__=short\\ unsigned\\ int}\
         %{traditional} %{ftraditional:-traditional}\
         %{traditional-cpp:-traditional}\
+       %{fshow-column} %{fno-show-column}\
        %{fleading-underscore} %{fno-leading-underscore}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %{!M:%{!MM:%{!E:%{!pipe:%g.i}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n",
@@ -695,6 +697,7 @@ static struct compiler default_compilers[] =
        %{fshort-wchar:-D__WCHAR_TYPE__=short\\ unsigned\\ int}\
         %{traditional} %{ftraditional:-traditional}\
         %{traditional-cpp:-traditional}\
+       %{fshow-column} %{fno-show-column}\
        %{fleading-underscore} %{fno-leading-underscore}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %W{o*}}\
@@ -713,6 +716,7 @@ static struct compiler default_compilers[] =
        %{fshort-wchar:-D__WCHAR_TYPE__=short\\ unsigned\\ int}\
         %{traditional} %{ftraditional:-traditional}\
         %{traditional-cpp:-traditional}\
+       %{fshow-column} %{fno-show-column}\
        %{fleading-underscore} %{fno-leading-underscore}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %W{o*}"}},
@@ -743,6 +747,7 @@ static struct compiler default_compilers[] =
        %{fshort-wchar:-D__WCHAR_TYPE__=short\\ unsigned\\ int}\
         %{traditional} %{ftraditional:-traditional}\
         %{traditional-cpp:-traditional}\
+       %{fshow-column} %{fno-show-column}\
        %{fleading-underscore} %{fno-leading-underscore}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %{!M:%{!MM:%{!E:%{!pipe:%g.s}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n",
index 69d0fec667d1b59cac0daddece30436374c4b275..a8411f3ea85c461989cddb1e5e5c4e5cf91d536e 100644 (file)
@@ -35,6 +35,7 @@ Boston, MA 02111-1307, USA.  */
         %{traditional} %{ftraditional:-traditional}\
         %{traditional-cpp:-traditional}\
        %{fleading-underscore} %{fno-leading-underscore}\
+       %{fshow-column} %{fno-show-column}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}}\n}",
     "%{!M:%{!MM:%{!E:cc1obj %i %1 \
@@ -68,6 +69,7 @@ Boston, MA 02111-1307, USA.  */
         %{traditional} %{ftraditional:-traditional}\
         %{traditional-cpp:-traditional}\
        %{fleading-underscore} %{fno-leading-underscore}\
+       %{fshow-column} %{fno-show-column}\
        %{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
         %i %{!M:%{!MM:%{!E:%{!pipe:%g.mi}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n",
     "%{!M:%{!MM:%{!E:cc1obj %{!pipe:%g.mi} %1 \
index d0fd982d4da0d15b990a246caf08eefc40be28e5..e5434d29fa15ebe370a5b2c4c9f4161f74a5ca66 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-03  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * gcc.dg/cpp-redef-2.c, gcc.dg/cpp-tradwarn1.c,
+       gcc.dg/cpp-unc.c: Add -fno-show-column to compiler options.
+
 Mon Apr  3 02:35:34 2000  Jeffrey A Law  (law@cygnus.com)
 
        * gcc.c-torture/compile/20000403-2.c: New test.
index 99af954e8aeb505f6f558bb1b3109e29e6cc4aea..0dacf07f651c2e81c49f23778d3e31ba2c8eb730 100644 (file)
@@ -1,7 +1,7 @@
 /* Test for redefining macros with significant differences.  */
 
 /* { dg-do preprocess }
-   { dg-options "-ansi -pedantic -Wall" } */
+   { dg-options "-ansi -pedantic -Wall -fno-show-column" } */
 
 #define mac(a, b) (a) + (b)
 #define mac(a, b) (a) * (b)
index 9085ea6791f959cad44992607385e4064a664d7b..550cbe27da703791af3dc53c9399208dced43720 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for warnings about nontraditional directives.  */
 /* { dg-do preprocess } */
-/* { dg-options "-pedantic -Wtraditional" } */
+/* { dg-options "-pedantic -Wtraditional -fno-show-column" } */
 
 /* Block 1: K+R directives should have the # indented.  */
 
index 4daddf65e64b6901783798db39dae4b92c9d1cb5..110a8a7021b5371d48b31da4c117ac51e8086a37 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do preprocess } */
+/* { dg-options "-fno-show-column" } */
 
 /* Tests for un-terminated conditional diagnostics.
    Copyright (c) 1999 Free Software Foundation.