diff options
author | Zack Weinberg <zack@rabi.columbia.edu> | 1999-01-31 17:46:42 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 1999-01-31 17:46:42 +0000 |
commit | be163a70f5ae51299cf56773e9866faec985977c (patch) | |
tree | 0afeb04ddf9be409e274ff43b6542e0421517113 /gcc/toplev.c | |
parent | 925ecf340f3d2981d01640fbc77ffb738a4510a4 (diff) | |
download | gcc-be163a70f5ae51299cf56773e9866faec985977c.zip gcc-be163a70f5ae51299cf56773e9866faec985977c.tar.gz gcc-be163a70f5ae51299cf56773e9866faec985977c.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: r24943
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 2b73288..c232928 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -746,6 +746,11 @@ int flag_strict_aliasing = 0; /* Instrument functions with calls at entry and exit, for profiling. */ int flag_instrument_function_entry_exit = 0; +/* Nonzero means ignore `#ident' directives. 0 means handle them. + On SVR4 targets, it also controls whether or not to emit a + string identifying the compiler. */ + +int flag_no_ident = 0; /* Table of supported debugging formats. */ static struct @@ -952,7 +957,9 @@ lang_independent_options f_options[] = {"instrument-functions", &flag_instrument_function_entry_exit, 1, "Instrument function entry/exit with profiling calls"}, {"leading-underscore", &flag_leading_underscore, 1, - "External symbols have a leading underscore" } + "External symbols have a leading underscore" }, + {"ident", &flag_no_ident, 0, + "Process #ident directives"} }; #define NUM_ELEM(a) (sizeof (a) / sizeof ((a)[0])) |