This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/53187] ICE in arm_select_dominance_cc_mode
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 May 2012 09:50:22 +0000
- Subject: [Bug target/53187] ICE in arm_select_dominance_cc_mode
- Auto-submitted: auto-generated
- References: <bug-53187-4@http.gcc.gnu.org/bugzilla/>
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.