diff options
author | Jason Merrill <merrill@gnu.org> | 1996-10-03 23:37:38 +0000 |
---|---|---|
committer | Jason Merrill <merrill@gnu.org> | 1996-10-03 23:37:38 +0000 |
commit | 2b77deccd9ded4565364a242f9bb17d6fe2285c8 (patch) | |
tree | a88b3947ec0a33d39879e6b3802b4082ba393638 /gcc | |
parent | d884dca33ee45c4b72557db79fb9c9efef6622ca (diff) | |
download | gcc-2b77deccd9ded4565364a242f9bb17d6fe2285c8.zip gcc-2b77deccd9ded4565364a242f9bb17d6fe2285c8.tar.gz gcc-2b77deccd9ded4565364a242f9bb17d6fe2285c8.tar.bz2 |
DWARY
From-SVN: r12894
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/toplev.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 3373f76..7ad7d22 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2520,6 +2520,7 @@ compile_file (name) and definitions which have not yet been forced out. */ if (write_symbols == DWARF_DEBUG + && DECL_RTL (decl) != 0 && (TREE_CODE (decl) != FUNCTION_DECL || !DECL_INITIAL (decl))) TIMEVAR (symout_time, dwarfout_file_scope_decl (decl, 1)); #endif @@ -2751,6 +2752,10 @@ rest_of_type_compilation (type, toplev) if (write_symbols == SDB_DEBUG) TIMEVAR (symout_time, sdbout_symbol (TYPE_STUB_DECL (type), !toplev)); #endif +#ifdef DWARF_DEBUGGING_INFO + if (write_symbols == DWARF_DEBUG) + TIMEVAR (symout_time, dwarfout_file_scope_decl (TYPE_STUB_DECL (type), 0)); +#endif } /* This is called from finish_function (within yyparse) @@ -3969,15 +3974,6 @@ main (argc, argv, envp) warning ("-Wuninitialized is not supported without -O"); } -#if defined(DWARF_DEBUGGING_INFO) - if (write_symbols == DWARF_DEBUG - && strcmp (language_string, "GNU C++") == 0) - { - warning ("-g option not supported for C++ on systems using the DWARF debugging format"); - write_symbols = NO_DEBUG; - } -#endif /* defined(DWARF_DEBUGGING_INFO) */ - #ifdef OVERRIDE_OPTIONS /* Some machines may reject certain combinations of options. */ OVERRIDE_OPTIONS; |