(lang_options): Add -f{no-,}implicit-templates.
authorJason Merrill <merrill@gnu.org>
Tue, 31 May 1994 19:31:18 +0000 (19:31 +0000)
committerJason Merrill <merrill@gnu.org>
Tue, 31 May 1994 19:31:18 +0000 (19:31 +0000)
        (compile_file): Don't output SDB debugging info for
        externals.

From-SVN: r7396

gcc/toplev.c

index 2a759574b7a012032b92044800935f7e43e7451f..809d84706e34d1aeffdbd465b319d2d429798729 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));