re PR target/49069 (ICE in gen_cstoredi4, at config/arm/arm.md:7554)
authorJakub Jelinek <jakub@gcc.gnu.org>
Wed, 23 Jan 2013 08:37:16 +0000 (09:37 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 23 Jan 2013 08:37:16 +0000 (09:37 +0100)
commita70418fc91b353d0658b561aaf3990088cb47a8d
tree6619fc5a54a03f8b79142fb660586e6d1ffbca31
parenta4bfae44d4a9ddfd5d707231e7c0260f6280b7c3
re PR target/49069 (ICE in gen_cstoredi4, at config/arm/arm.md:7554)

PR target/49069
* config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
instead of cmpdi_operand for first comparison operand.
Don't assert that comparison operands aren't both constants.

* gcc.dg/pr49069.c: New test.

From-SVN: r195398
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr49069.c [new file with mode: 0644]