From: Aldy Hernandez Date: Fri, 12 Jun 2015 13:44:15 +0000 (+0000) Subject: * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. X-Git-Tag: upstream/12.2.0~54222 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df649a1c7e07d2b521922aead88d7a1477252762;p=platform%2Fupstream%2Fgcc.git * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. From-SVN: r224431 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efa166a..052dac2 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 92fa340..d2c516a 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