http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53187
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-02 09:50:22 UTC --- Created attachment 27285 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27285 gcc48-pr53187.patch Untested fix. If combine puts there (*:SI (reg:CC* cc) (const_int 0)) we should probably select the already selected CC mode, then in this case arm_select_cc_mode will return the CCFPEmode and thus the caller won't try to optimize it any way.