https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94368
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Kyrylo Tkachov <ktkac...@gcc.gnu.org>: https://gcc.gnu.org/g:13f6d5ac48a7d55b41927849aeebc5832f8c63f0 commit r9-8437-g13f6d5ac48a7d55b41927849aeebc5832f8c63f0 Author: Kyrylo Tkachov <kyrylo.tkac...@arm.com> Date: Wed Apr 1 13:53:05 2020 +0100 aarch64: Fix up aarch64_compare_and_swaphi pattern [PR94368] 2020-04-01 Kyrylo Tkachov <kyrylo.tkac...@arm.com> Backport from mainline 2020-03-31 Jakub Jelinek <ja...@redhat.com> PR target/94368 * config/aarch64/constraints.md (Uph): New constraint. * config/aarch64/atomics.md (cas_short_expected_imm): New mode attr. (@aarch64_compare_and_swap<mode>): Use it instead of n in operand 2's constraint. * gcc.dg/pr94368.c: New test.