From: Christian Bruel Date: Wed, 9 Jul 2008 07:31:44 +0000 (+0200) Subject: http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00520.html X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47d268d0d33fbf5dbcd7d022c87e1dfcb6b61577;p=gcc.git gcc.gnu.org/ml/gcc-patches/2008-07/msg00520.html From-SVN: r137654 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 463a649f627..5fe59fe673a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-07-09 Christian Bruel + + * final.c (get_attr_length_1): Call get_attr_length_1 with fallback_fn + instead of get_attr_length. + 2008-07-09 Kaveh R. Ghazi * genattrtab.c (insert_right_side, evaluate_eq_attr): Avoid C++ diff --git a/gcc/final.c b/gcc/final.c index cbdb3f1bfdd..7a87235321e 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -410,7 +410,7 @@ get_attr_length_1 (rtx insn ATTRIBUTE_UNUSED, length = asm_insn_count (body) * fallback_fn (insn); else if (GET_CODE (body) == SEQUENCE) for (i = 0; i < XVECLEN (body, 0); i++) - length += get_attr_length (XVECEXP (body, 0, i)); + length += get_attr_length_1 (XVECEXP (body, 0, i), fallback_fn); else length = fallback_fn (insn); break;