From: Aldy Hernandez Date: Fri, 12 Jun 2015 13:44:15 +0000 (+0000) Subject: * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df649a1c7e07d2b521922aead88d7a1477252762;p=gcc.git * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. From-SVN: r224431 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efa166a112e..052dac22de8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-06-12 Aldy Hernandez + + * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. + 2015-06-12 Kyrylo Tkachov * ifcvt.c (noce_try_store_flag_constants): Use std::swap instead of diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 92fa340a372..d2c516ab879 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -5687,6 +5687,7 @@ debug_dwarf (void) print_die (comp_unit_die (), stderr); } +#ifdef ENABLE_CHECKING /* Sanity checks on DIEs. */ static void @@ -5749,6 +5750,7 @@ check_die (dw_die_ref die) && a->dw_attr != DW_AT_GNU_all_call_sites); } } +#endif /* Start a new compilation unit DIE for an include file. OLD_UNIT is the CU for the enclosing include file, if any. BINCL_DIE is the DW_TAG_GNU_BINCL