From 3bfb5aec659e1bb9ab48e6f074a6b9aad2a2b2a1 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sun, 31 Jan 1999 17:46:50 +0000 Subject: [PATCH] flags.h: Declare flag_no_ident. a 1999-01-31 17:52 -0500 Zack Weinberg * 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 | 7 +++++++ gcc/cp/cp-tree.h | 4 ---- gcc/cp/lang-specs.h | 8 ++++---- gcc/f/ChangeLog | 4 ++++ 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index d1154ef7762..9a1f37a8ab4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +Sun Jan 31 20:34:29 1999 Zack Weinberg + + * 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 * cp-tree.h (struct tree_binding): Replace scope field with a union. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 0471be4f807..52ea7352470 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -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; diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index b742fc230ea..972d72bf551 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -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\ diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 00790ebe522..8d148741bfe 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +Sun Jan 31 20:34:29 1999 Zack Weinberg + + * lang-specs.h: Map -Qn to -fno-ident. + Tue Jan 5 22:12:41 1999 Kaveh R. Ghazi * Make-lang.in (g77.o): Depend on prefix.h. -- 2.30.2