------- 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

Reply via email to