re PR target/49281 (lea_general_4 is wrong)
authorJakub Jelinek <jakub@redhat.com>
Sat, 4 Jun 2011 15:38:36 +0000 (17:38 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 4 Jun 2011 15:38:36 +0000 (17:38 +0200)
commit407bcba7b77ef3097651aa3a72b7f14b0fe5dfa2
treeac894aaca24019bda80ff39fe911ab94a0e90066
parent0defd7866392143e217750bc2b34be3ef0d6b57b
re PR target/49281 (lea_general_4 is wrong)

PR target/49281
* config/i386/i386.md (*lea_general_4): Require INTVAL (operands[3])
to be strictly smaller than 1 << shiftcount.

* gcc.c-torture/execute/pr49281.c: New test.

From-SVN: r174641
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr49281.c [new file with mode: 0644]