[Bug tree-optimization/63914] ICE in set_lattice_value, at tree-ssa-ccp.c:517
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 17 14:13:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63914
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
We try to transition from
{ Inf, 0.0, 0.0, 0.0 } * { 0.0, 0.0, 0.0, 0.0 } == { Nan, 0.0, 0.0, 0.0 }
to
VARYING * { 0.0, 0.0, 0.0, 0.0 } == { 0.0, 0.0, 0.0, 0.0 }
which is... "interesting". -ffast-math allows for this as it considers
-ffinite-math-only for which the first constant folding returns an
"invalid" number. Hmm.
We have canonicalize_value that is supposed to catch this but it fails to
handle VECTOR_CSTs or COMPLEX_CSTs properly.
More information about the Gcc-bugs
mailing list