re PR target/25554 (unrecognizable insn on x86_64 with -O2 -ftracer ( -fno-tree-domin...
authorJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Jan 2006 08:15:06 +0000 (09:15 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 4 Jan 2006 08:15:06 +0000 (09:15 +0100)
commitd90ee6be660e3da0871af961be1d2171cf15c622
tree3ac4ff6249316e463e7111ce46c5646a31e3ee55
parentee8960e55808aeeb4183ea07b3bad7f67fa6b640
re PR target/25554 (unrecognizable insn on x86_64 with -O2 -ftracer ( -fno-tree-dominator-opts on the mainline))

PR target/25554
* config/i386/i386.md (testqi_ext_3): Ensure len is positive
and pos non-negative and pos + len <= 32.
(testqi_ext_3_rex64): Ensure len is positive and pos non-negative,
drop pos + len < HOST_BITS_PER_WIDE_INT test.
(testqi_ext_3* splitter): Handle pos + len == HOST_BITS_PER_WIDE_INT.

* gcc.c-torture/compile/20051228-1.c: New test.

From-SVN: r109317
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20051228-1.c [new file with mode: 0644]