[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug bootstrap/40788] [4.5 regression] ICE on sparc: tree check: expected class 'expression', have 'declaration' (var_decl) in gimplify_va_arg_expr, at builtins.c:5107




------- Comment #7 from laurent at guerby dot net  2009-08-10 22:25 -------
I tested the following patch and it restores --with-cpu=v8 c,ada bootstrap

Index: gcc/builtins.c
===================================================================
--- gcc/builtins.c      (revision 150589)
+++ gcc/builtins.c      (working copy)
@@ -5104,7 +5104,6 @@
        return GS_ALL_DONE;

       *expr_p = targetm.gimplify_va_arg_expr (valist, type, pre_p, post_p);
-      SET_EXPR_LOCATION (*expr_p, loc);
       return GS_OK;
     }
 }


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40788

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Reply to: