[Bug c/30564] ice for legal code with -O3

2007-01-23 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-01-23 21:56 --- Created an attachment (id=12942) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12942&action=view) somewhat reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30564

[Bug c/30564] ice for legal code with -O3

2007-01-23 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-01-23 21:55 --- Honza, we're not folding the comparison on inlining and later ICE in tree-vrp because of this (from the einline dump): # fp1_5 = PHI :; i_30 = fp0_6; goto (); :; D.1689_35 = unicount[i_3]; D.1690_36 = D

[Bug c/30564] ice for legal code with -O3

2007-01-23 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-01-23 21:29 --- Nice one. (gdb) up #1 0x085aa055 in extract_range_from_assert (vr_p=0xbf806324, expr=0xb7ba1ee8) at /home/richard/src/trunk/gcc/tree-vrp.c:845 845 gcc_assert (limit != var); (gdb) call debug_generic_expr

[Bug c/30564] ice for legal code with -O3

2007-01-23 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2007-01-23 21:00 --- Created an attachment (id=12941) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12941&action=view) C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30564