From 7efad3f776363669abf4fd7c94777f20f59fa4ec Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 31 May 1994 19:31:18 +0000 Subject: [PATCH] (lang_options): Add -f{no-,}implicit-templates. (compile_file): Don't output SDB debugging info for externals. From-SVN: r7396 --- gcc/toplev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/toplev.c b/gcc/toplev.c index 2a759574b7a..809d84706e3 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)); -- 2.30.2