re PR target/62262 (aarch64 gcc generates invalid assembler)
authorGuozhi Wei <carrot@google.com>
Wed, 27 Aug 2014 16:48:09 +0000 (16:48 +0000)
committerWei Guozhi <carrot@gcc.gnu.org>
Wed, 27 Aug 2014 16:48:09 +0000 (16:48 +0000)
commit3d0b75dee41113c397caabd6b5690c6c39204d0d
tree50d95b3ec5a31542890562a98fdfe72015237a6d
parentdcb7fae249bd3b867d91dd85c2e66fd51eb2b45e
re PR target/62262 (aarch64 gcc generates invalid assembler)

PR target/62262
* config/aarch64/aarch64.md (*andim_ashift<mode>_bfiz): Check the shift
amount before using it.

* gcc.target/aarch64/pr62262.c: New test.

From-SVN: r214578
gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr62262.c [new file with mode: 0644]