On 2/19/07, Grigory Zagorodnev <[EMAIL PROTECTED]> 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

Reply via email to