GCC 4.3 ia64 bootstrap failure

Lee Millward lee.millward@codesourcery.com
Mon Feb 19 09:18:00 GMT 2007


On 2/19/07, Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com> wrote:
> Grigory Zagorodnev wrote:
> > Hi!
> > /gcc-43/src/libgcc/../gcc/unwind.inc:287: internal compiler error: tree
> > check: expected class 'expression', have 'constant' (integer_cst) in
> > ia64_expand_builtin, at config/ia64/ia64.c:9194

I think this is down to the CALL_EXPR changes. Can you try changing

tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);

on line 9164 in ia64.c to:

tree fndecl = TREE_OPERAND (CALL_EXPR_FN (exp), 0);

and see if that fixes it? I'm not able to test this change myself at
the moment but I think the above should do it.

Cheers,
Lee



More information about the Gcc mailing list