This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15948] [3.4,3.5 Regression] THUMB: ICE with non-commutative cbranch
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2004 11:21:30 -0000
- Subject: [Bug target/15948] [3.4,3.5 Regression] THUMB: ICE with non-commutative cbranch
- References: <20040611193758.15948.danfuzz@milk.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-06-22 11:21 -------
Confirmed. The compiler is using a non-commutative operation that sets the
condition codes. Unfortunately, the register allocator has dug a pit that
reload doesn't know how to climb out of. The attached patch should give it a
suitable step up again.
The other cbranch insns in the machine description need auditing to see if they
might suffer from the same problem.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Component|rtl-optimization |target
Ever Confirmed| |1
Priority|P2 |P1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-22 11:21:23
date| |
Summary|THUMB -O2: Very short file |[3.4,3.5 Regression] THUMB:
|causes assert failure |ICE with non-commutative
| |cbranch
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15948