diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-04-25 18:59:11 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-04-25 18:59:11 +0200 |
commit | 98095aa3379c4db453d656b82f368e3bbacbfa07 (patch) | |
tree | c0adf84823b69e93515bec4add24e4f996c6ec10 /gcc/toplev.c | |
parent | 9c8305f8fcfdab61ed276d1c30e7832e87d9ac55 (diff) | |
download | gcc-98095aa3379c4db453d656b82f368e3bbacbfa07.zip gcc-98095aa3379c4db453d656b82f368e3bbacbfa07.tar.gz gcc-98095aa3379c4db453d656b82f368e3bbacbfa07.tar.bz2 |
common.opt (flag_debug_types_section): Default to 0.
* common.opt (flag_debug_types_section): Default to 0.
(dwarf_version): Default to 4.
(dwarf_record_gcc_switches): Default to 1.
(dwarf_strict): Default to 0.
* toplev.c (process_options): Don't handle dwarf_strict
or dwarf_version here.
* config/vxworks.c (vxworks_override_options): Don't
test whether dwarf_strict or dwarf_version are negative,
instead test !global_options_set.x_dwarf_*.
* config/darwin.c (darwin_override_options): Default to
dwarf_version 2.
* doc/invoke.texi: Note that -gdwarf-4, -grecord-gcc-switches
and -fno-debug-types-section are now the default.
From-SVN: r186835
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index fcfdba2..53590b0 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1375,15 +1375,6 @@ process_options (void) } } - /* Unless over-ridden for the target, assume that all DWARF levels - may be emitted, if DWARF2_DEBUG is selected. */ - if (dwarf_strict < 0) - dwarf_strict = 0; - - /* And select a default dwarf level. */ - if (dwarf_version < 0) - dwarf_version = 2; - /* A lot of code assumes write_symbols == NO_DEBUG if the debugging level is 0. */ if (debug_info_level == DINFO_LEVEL_NONE) |