[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 #6 from rguenth at gcc dot gnu dot org 2009-08-10 09:10 -------
*expr_p = targetm.gimplify_va_arg_expr (valist, type, pre_p, post_p);
SET_EXPR_LOCATION (*expr_p, loc);
is simply bogus. You can't expect *expr_p being still an expression tree
when you throw the gimplifier on it. I suggest to simply remove that
location setting here - the target gimplifiers should fix up locations if
necessary.
--
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: