flags.h: Declare flag_no_ident.
authorZack Weinberg <zack@rabi.columbia.edu>
Sun, 31 Jan 1999 17:46:50 +0000 (17:46 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Sun, 31 Jan 1999 17:46:50 +0000 (17:46 +0000)
a
1999-01-31 17:52 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident.  Don't process
          -f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
          only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.

From-SVN: r24945

gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/lang-specs.h
gcc/f/ChangeLog

index d1154ef77625f03306cae14a5b32a96edcfc5ffd..9a1f37a8ab4401bc90c23f076edad0cfe0e0c6d9 100644 (file)
@@ -1,3 +1,10 @@
+Sun Jan 31 20:34:29 1999  Zack Weinberg  <zack@rabi.columbia.edu>
+
+       * decl2.c: Don't define flag_no_ident here.  Don't process
+       -f(no-)ident here.
+       * cp-tree.h: Don't declare flag_no_ident here.
+       * lang-specs.h: Map -Qn to -fno-ident.
+
 1999-01-28  Jason Merrill  <jason@yorick.cygnus.com>
 
        * cp-tree.h (struct tree_binding): Replace scope field with a union.
index 0471be4f8078cf165cf740c4aa62535809b5820e..52ea73524709b5005b4a1791d9c4bdad03565cda 100644 (file)
@@ -386,10 +386,6 @@ extern int flag_gnu_xref;
 
 extern int flag_gnu_binutils;
 
-/* Nonzero means ignore `#ident' directives.  */
-
-extern int flag_no_ident;
-
 /* Nonzero means warn about implicit declarations.  */
 
 extern int warn_implicit;
index b742fc230ea6f04578c871a2a0b565220c0fd8fd..972d72bf551d68d1bb1dda5736672cd3c632972a 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for specs for C++.
-   Copyright (C) 1995, 96-97, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1995, 96-98, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -52,7 +52,7 @@ Boston, MA 02111-1307, USA.  */
                            %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi}\
                             %{H} %{d*} %C %{D*} %{U*} %{i*} %Z\
                            %{v:-version} %{pg:-p} %{p}\
-                           %{f*} %{+e*} %{aux-info*}\
+                           %{f*} %{+e*} %{aux-info*} %{Qn:-fno-ident}\
                            %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
                            %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}}|\n\
               %{!S:as %a %Y\
@@ -72,7 +72,7 @@ Boston, MA 02111-1307, USA.  */
                            %{!Q:-quiet} -dumpbase %b.cc %{d*} %{m*} %{a}\
                            %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi}\
                            %{v:-version} %{pg:-p} %{p}\
-                           %{f*} %{+e*} %{aux-info*}\
+                           %{f*} %{+e*} %{aux-info*} %{Qn:-fno-ident}\
                            %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
                            %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}}|\n\
               %{!S:as %a %Y\
@@ -84,7 +84,7 @@ Boston, MA 02111-1307, USA.  */
    {"%{!M:%{!MM:%{!E:cc1plus %i %1 %2 %{!Q:-quiet} %{d*} %{m*} %{a}\
                            %{g*} %{O*} %{W*} %{w} %{pedantic*} %{ansi}\
                            %{v:-version} %{pg:-p} %{p}\
-                           %{f*} %{+e*} %{aux-info*}\
+                           %{f*} %{+e*} %{aux-info*} %{Qn:-fno-ident}\
                            %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
                            %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
                    %{!S:as %a %Y\
index 00790ebe52242754dee8c75bb90e97c432d25b89..8d148741bfe5ab1339b3d473fdb77cbbcbbb514b 100644 (file)
@@ -1,3 +1,7 @@
+Sun Jan 31 20:34:29 1999  Zack Weinberg  <zack@rabi.columbia.edu>
+
+       * lang-specs.h: Map -Qn to -fno-ident.
+
 Tue Jan  5 22:12:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
         * Make-lang.in (g77.o): Depend on prefix.h.