http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60501
--- Comment #4 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > Do you have a testcase? I've tried for a while to reduce one but failed. Only under rare circumstances GCC seems to be able to reuse the cc from the first compare at all. With only slightly modifying the testcase the second compare stayed and the result was ok.