aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-08-25 07:34:54 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-08-25 07:34:54 +0000
commitf8ca7e49b358124e451580bf3bcd3b1d3cb05608 (patch)
tree7abdfe92f2a97062a9c729c69ce849d227970c39 /gcc/opts.c
parent69b9b0d2c3bab21445547546a4742e73a515ad36 (diff)
downloadgcc-f8ca7e49b358124e451580bf3bcd3b1d3cb05608.zip
gcc-f8ca7e49b358124e451580bf3bcd3b1d3cb05608.tar.gz
gcc-f8ca7e49b358124e451580bf3bcd3b1d3cb05608.tar.bz2
flags.h (enum debug_info_type): Remove DWARF_DEBUG.
* flags.h (enum debug_info_type): Remove DWARF_DEBUG. * defaults.h (PREFERRED_DEBUGGING_TYPE): Remove check for DWARF_DEBUGGING_INFO from choice-of-definition chain; restructure using C89 features (#elif, #error). * c-lex.c, final.c, opts.c, config/cris/cris.c, config/frv/frv.c * config/sh/sh.h: Remove references to DWARF_DEBUG. * doc/invoke.texi: Remove references to DWARF version 1; clarify why -gdwarf-2<n> doesn't work. cp: * class.c, search.c: Remove references to DWARF_DEBUG. From-SVN: r86540
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index a6a7c33..b802bcf 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -647,9 +647,7 @@ decode_options (unsigned int argc, const char **argv)
work correctly with DWARF debugging turned on. Until this is fixed
we will disable the optimization when DWARF debugging is set. */
- if (flag_reorder_blocks_and_partition
- && (write_symbols == DWARF_DEBUG
- || write_symbols == DWARF2_DEBUG))
+ if (flag_reorder_blocks_and_partition && write_symbols == DWARF2_DEBUG)
{
warning
("-freorder-blocks-and-partition does not work with -g (currently)");