This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/44227] New: Invalid instruction generation in Thumb2 for tst instruction.
- From: "ramana at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2010 10:37:05 -0000
- Subject: [Bug target/44227] New: Invalid instruction generation in Thumb2 for tst instruction.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
CSiBe builds broke because of this change here to fix PR42879.
http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00263.html
Attached is a reduced testcase that shows the problem. The problem appears to
be due to incorrect generation of the tst instruction as a result of the
pattern added where the tst instruction appears to be generating a tst with
32767 which is an invalid immediate for the tst instruction in Thumb2 state.
Carrot, can you look at this further ?
Ramana
--
Summary: Invalid instruction generation in Thumb2 for tst
instruction.
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ramana at gcc dot gnu dot org
GCC host triplet: X86_64-linux-gnu
GCC target triplet: arm-eabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44227