OSDN Git Service

(lang_options): Add -f{no-,}implicit-templates.
authormerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 1994 19:31:18 +0000 (19:31 +0000)
committermerrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 1994 19:31:18 +0000 (19:31 +0000)
        (compile_file): Don't output SDB debugging info for
        externals.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7396 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/toplev.c

index 2a75957..809d847 100644 (file)
@@ -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));