http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57192
--- Comment #4 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2013-05-07 19:01:56 UTC --- BTW, on trunk: ../../gcc/gcc/gimple-ssa-strength-reduction.c: In function ‘void analyze_candidates_and_replace()’: ../../gcc/gcc/gimple-ssa-strength-reduction.c:3394:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] It actually seems current trunk r198693 also works for the testcase (with and without your patch)?