GCC regression hunting..  one more down.

Committed to branch.
commit fe086e62a450538efc06c064530bfd564496d6a6
Author: Aldy Hernandez <al...@redhat.com>
Date:   Fri Apr 24 14:22:58 2015 -0700

    Relax condition in check_die_inline so that DW_AT_inline of 0 is
    equivalent to no inline.

diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index f4e6858..39046f5 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -5737,7 +5737,7 @@ check_die_inline (dw_die_ref die)
   dw_attr_ref a;
   bool inline_found = false;
   FOR_EACH_VEC_SAFE_ELT (die->die_attr, ix, a)
-    if (a->dw_attr == DW_AT_inline)
+    if (a->dw_attr == DW_AT_inline && a->dw_attr_val.v.val_unsigned)
       inline_found = true;
   if (inline_found)
     {

Reply via email to