[Bug middle-end/38070] ICE in compare_values_warnv
rakdver at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 10 18:33:00 GMT 2008
------- Comment #3 from rakdver at gcc dot gnu dot org 2008-11-10 18:32 -------
> It might be that only number_of_iterations_lt_to_ne needs to be changed,
> I looked at other uses of fold_build* in tree-ssa-loop-niter.c and quite
> some others also look at least fishy (at least those generating compares),
> but they usually only set assumptions, so they might be fine for now.
no, they could not. Any comparison of wrong-type operands is a problem.
> In any case, this seems to work for me:
Probably a more thorough fix of the type problems in tree-ssa-loop-niter.c
would be better.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38070
More information about the Gcc-bugs
mailing list