aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1994-05-31 19:31:18 +0000
committerJason Merrill <merrill@gnu.org>1994-05-31 19:31:18 +0000
commit7efad3f776363669abf4fd7c94777f20f59fa4ec (patch)
tree19e3654615811c9e44b346598c571f51c407992e
parentca800983cb2c749676dc33d52c752ecdee1e0e15 (diff)
downloadgcc-7efad3f776363669abf4fd7c94777f20f59fa4ec.zip
gcc-7efad3f776363669abf4fd7c94777f20f59fa4ec.tar.gz
gcc-7efad3f776363669abf4fd7c94777f20f59fa4ec.tar.bz2
(lang_options): Add -f{no-,}implicit-templates.
(compile_file): Don't output SDB debugging info for externals. From-SVN: r7396
-rw-r--r--gcc/toplev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 2a75957..809d847 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -662,6 +662,8 @@ char *lang_options[] =
"-fno-huge-objects",
"-fimplement-inlines",
"-fno-implement-inlines",
+ "-fimplicit-templates",
+ "-fno-implicit-templates",
"-flabels-ok",
"-fno-labels-ok",
"-fmemoize-lookups",
@@ -2373,6 +2375,7 @@ compile_file (name)
we avoid a problem. mcsun!unido!fauern!tumuc!pes@uunet.uu.net. */
if (write_symbols == SDB_DEBUG && TREE_CODE (decl) == VAR_DECL
&& TREE_PUBLIC (decl) && DECL_INITIAL (decl)
+ && ! DECL_EXTERNAL (decl)
&& DECL_RTL (decl) != 0)
TIMEVAR (symout_time, sdbout_symbol (decl, 0));
@@ -2381,6 +2384,7 @@ compile_file (name)
if (write_symbols == SDB_DEBUG
&& TREE_CODE (decl) == VAR_DECL
&& DECL_INITIAL (decl)
+ && ! DECL_EXTERNAL (decl)
&& DECL_RTL (decl) != 0
&& GET_CODE (DECL_RTL (decl)) == MEM)
TIMEVAR (symout_time, sdbout_toplevel_data (decl));