re PR middle-end/49029 (ICE in simplify_subreg, at simplify-rtx.c:5266)
authorJakub Jelinek <jakub@redhat.com>
Sun, 22 May 2011 19:00:00 +0000 (21:00 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 22 May 2011 19:00:00 +0000 (21:00 +0200)
commitccb1b17ba8e94c59bbf14f8ed24d9e39377b7efb
treef264700c2c973d12b362c40b9b641a0c3b6fe026
parent50ad7db2a849954f37b412fbb466fcda2a655a38
re PR middle-end/49029 (ICE in simplify_subreg, at simplify-rtx.c:5266)

PR middle-end/49029
* expmed.c (extract_fixed_bit_field): Test whether target can be used
only after deciding which mode to use.

* gcc.c-torture/compile/pr49029.c: New test.

From-SVN: r174034
gcc/ChangeLog
gcc/expmed.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr49029.c [new file with mode: 0644]