re PR target/67143 (ICE (could not split insn) on aarch64-linux-gnu)
authorMatthew Wahab <matthew.wahab@arm.com>
Fri, 14 Aug 2015 15:05:42 +0000 (15:05 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Fri, 14 Aug 2015 15:05:42 +0000 (15:05 +0000)
commit356c32e2f4b9d44140a8333da5381813f9aad516
tree973bc4d5a6378f40868d026a02ff8f75bd705c87
parent2548a4d6ba4d54393ae7947a7a8c9070d9c7e113
re PR target/67143 (ICE (could not split insn) on aarch64-linux-gnu)

gcc/
2015-08-14  Matthew Wahab  <matthew.wahab@arm.com>

PR target/67143
* config/aarch64/atomics.md (atomic_<optab><mode>): Replace
'lconst_atomic' with 'const_atomic'.
(atomic_fetch_<optab><mode>): Likewise.
(atomic_<optab>_fetch<mode>): Likewise.
* config/aarch64/iterators.md (lconst-atomic): Move below
'const_atomic'.
(const_atomic): New.

gcc/testsuite/
2015-08-14  Matthew Wahab  <matthew.wahab@arm.com>
    Matthias Klose  <doko@debian.org>

PR target/67143
* gcc.c-torture/compile/pr67143.c: New
* gcc.target/aarch64/atomic-op-imm.c
(atomic_fetch_add_negative_RELAXED): New.
(atomic_fetch_sub_negative_ACQUIRE): New.

Co-Authored-By: Matthias Klose <doko@debian.org>
From-SVN: r226895
gcc/ChangeLog
gcc/config/aarch64/atomics.md
gcc/config/aarch64/iterators.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr67143.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/atomic-op-imm.c