------- Comment #1 from kkojima at gcc dot gnu dot org 2009-04-15 05:14 ------- NaN requires -mieee for SH target and you could avoid the ICE with -mieee or -fno-finite-math-only. Although the test case doesn't make much sense for this target without these options, the ICE might show the compiler problem anyway. I've confirmed that the provided test fails similarly with -O -ffinite-math-only also for i686-pc-linux-gnu on the trunk.
-- kkojima at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkojima at gcc dot gnu dot | |org GCC target triplet|sh4-unknown-linux-gnu | Keywords| |ice-on-valid-code Summary|ICE in set_lattice_value, at|ICE in set_lattice_value, at |tree-ssa-ccp.c:468 |tree-ssa-ccp.c:468 with - | |ffinite-math-only http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39764