--- Comment #4 from steven at gcc dot gnu dot org 2006-06-24 13:53 ---
Uhm, Richi is right. Ignore comment #4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28151
--- Comment #3 from steven at gcc dot gnu dot org 2006-06-24 13:50 ---
We ICE in fold-const.c line 1691 (r114961):
= const_binop (PLUS_EXPR,
const_binop (MULT_EXPR, r2, r2, notrunc),
const_binop (MULT_EXPR, i2, i2,
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-06-24 11:40 ---
So the fix is simply to watch for failed folding from const_binop in itself.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28151
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-06-24 11:37 ---
Confirmed.
We have
Breakpoint 3, const_binop (code=RDIV_EXPR, arg1=0xa7bc6708, arg2=0xa7bc6690,
notrunc=0) at /home/richard/src/trunk/gcc/fold-const.c:1691
(gdb) call debug_generic_expr (arg1)
__complex__ (1.0e