From: aldyh Date: Fri, 12 Jun 2015 13:44:15 +0000 (+0000) Subject: * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0f9789e09e2fd6c16b512c6b7b7d16a7952bd5b;p=thirdparty%2Fgcc.git * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224431 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efa166a112ee..052dac22de83 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 92fa340a3721..d2c516ab8798 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