aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/aarch64/atomics.md
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-11-21 17:41:03 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-11-21 17:41:03 +0100
commite21679a8bb17aac603b8704891e60ac502200629 (patch)
tree393203eab07f2a07eaf8c5fca7466cf36b4b094b /gcc/config/aarch64/atomics.md
parent0358d788d238ba7407648962f40026bd8c190308 (diff)
downloadgcc-e21679a8bb17aac603b8704891e60ac502200629.zip
gcc-e21679a8bb17aac603b8704891e60ac502200629.tar.gz
gcc-e21679a8bb17aac603b8704891e60ac502200629.tar.bz2
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
Diffstat (limited to 'gcc/config/aarch64/atomics.md')
-rw-r--r--gcc/config/aarch64/atomics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md
index 00f7af4..a429703 100644
--- a/gcc/config/aarch64/atomics.md
+++ b/gcc/config/aarch64/atomics.md
@@ -71,7 +71,7 @@
(match_operand:GPI 1 "aarch64_sync_memory_operand" "+Q")) ;; memory
(set (match_dup 1)
(unspec_volatile:GPI
- [(match_operand:GPI 2 "aarch64_plus_operand" "rn") ;; expect
+ [(match_operand:GPI 2 "aarch64_plus_operand" "rIJ") ;; expect
(match_operand:GPI 3 "aarch64_reg_or_zero" "rZ") ;; desired
(match_operand:SI 4 "const_int_operand") ;; is_weak
(match_operand:SI 5 "const_int_operand") ;; mod_s