re PR target/46934 (gcc ICE: error: unrecognizable insn: in extract_insn, at recog...
authorChung-Lin Tang <cltang@codesourcery.com>
Thu, 24 Mar 2011 02:47:55 +0000 (02:47 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Thu, 24 Mar 2011 02:47:55 +0000 (02:47 +0000)
commit4908b0bf1ccac0b7c738ca107be86ca77bf10c4a
tree0afe7bfcc7eaef3a9e1bf3964938d68ccf351889
parent27deda791be9fff34b41cbb2525b69879da36ee0
re PR target/46934 (gcc ICE: error: unrecognizable insn: in extract_insn, at recog.c:2109)

2011-03-23  Chung-Lin Tang  <cltang@codesourcery.com>

PR target/46934
* config/arm/arm.md (casesi): Use the gen_int_mode() function
to subtract lower bound instead of GEN_INT().

testsuite/
* gcc.target/arm/pr46934.c: New.

From-SVN: r171379
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr46934.c [new file with mode: 0644]