http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50865
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2011-10-25 Component|c |tree-optimization Ever Confirmed|0 |1 --- Comment #6 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2011-10-25 16:00:13 UTC --- /* X % -Y is the same as X % Y. */ (fold-const.c:fold_binary_loc) would probably be what's wrong here.