re PR target/87839 (ICE in final_scan_insn_1, at final.c:3070)
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Nov 2018 16:41:03 +0000 (17:41 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Nov 2018 16:41:03 +0000 (17:41 +0100)
commite21679a8bb17aac603b8704891e60ac502200629
tree393203eab07f2a07eaf8c5fca7466cf36b4b094b
parent0358d788d238ba7407648962f40026bd8c190308
re PR target/87839 (ICE in final_scan_insn_1, at final.c:3070)

PR target/87839
* config/aarch64/atomics.md (@aarch64_compare_and_swap<mode>): Use
rIJ constraint for aarch64_plus_operand rather than rn.

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

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