aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorZack Weinberg <zack@rabi.columbia.edu>1999-01-31 17:46:23 +0000
committerZack Weinberg <zack@gcc.gnu.org>1999-01-31 17:46:23 +0000
commitf64d823442405c8ef6281fa7106cf778e3f00f72 (patch)
tree6e81639a16203522e61f6ade8dd76f25b953eda7 /gcc
parentdb3ca9bac64ea68cce6d6fcd6476f28644b85d41 (diff)
downloadgcc-f64d823442405c8ef6281fa7106cf778e3f00f72.zip
gcc-f64d823442405c8ef6281fa7106cf778e3f00f72.tar.gz
gcc-f64d823442405c8ef6281fa7106cf778e3f00f72.tar.bz2
flags.h: Declare flag_no_ident.
� 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: r24940
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog22
-rw-r--r--gcc/c-decl.c8
2 files changed, 22 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 46f4c9c..da89fc9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,25 @@
+Sun Jan 31 20:34:29 1999 Zack Weinberg <zack@rabi.columbia.edu>
+
+ * flags.h: Declare flag_no_ident.
+ * toplev.c: Define flag_no_ident. Process -f(no-)ident here.
+ * c-tree.h: Don't declare flag_no_ident.
+ * c-decl.c: Don't define flag_no_ident. Don't process
+ -f(no-)ident switches here.
+
+ * 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.
+ * objc/lang-specs.h: Likewise.
+
Mon Feb 1 10:52:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* configure.in: Don't remove loop.o and unroll.o when
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 35d0625..7e7970a 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -483,10 +483,6 @@ int flag_allow_single_precision = 0;
int flag_signed_bitfields = 1;
int explicit_flag_signed_bitfields = 0;
-/* Nonzero means handle `#ident' directives. 0 means ignore them. */
-
-int flag_no_ident = 0;
-
/* Nonzero means warn about use of implicit int. */
int warn_implicit_int;
@@ -744,10 +740,6 @@ c_decode_option (argc, argv)
flag_no_builtin = 0;
else if (!strcmp (p, "-fno-builtin"))
flag_no_builtin = 1;
- else if (!strcmp (p, "-fno-ident"))
- flag_no_ident = 1;
- else if (!strcmp (p, "-fident"))
- flag_no_ident = 0;
else if (!strcmp (p, "-ansi"))
goto iso_1990;
else if (!strcmp (p, "-Werror-implicit-function-declaration"))