------- Comment #3 from rakdver at gcc dot gnu dot org 2007-10-12 03:03 ------- (In reply to comment #2) > Confirmed. You need HWI of 32bits to trigger the problem. Maybe latent on > the trunk (I didn't check if it fails there, too).
The problem was fixed in mainline in this commit (I somehow did not realize that this code was present also in 4.2): 2006-12-13 Zdenek Dvorak <[EMAIL PROTECTED]> * tree-ssa-loop-ivopts.c: ... (constant_multiple_of): Fix order of operators for division. ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33714