https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90724
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Andre Simoes Dias Vieira <avie...@gcc.gnu.org>: https://gcc.gnu.org/g:69472d76d2456a447f61bc539bd6fe262c167bcf commit r8-10215-g69472d76d2456a447f61bc539bd6fe262c167bcf Author: Andre Vieira <andre.simoesdiasvie...@arm.com> Date: Thu Apr 16 10:16:19 2020 +0100 re PR target/90724 (ICE with __sync_bool_compare_and_swap with -march=armv8.2-a+sve) 2020-04-16 Andre Vieira <andre.simoesdiasvie...@arm.com> Backport from mainline 2019-08-21 Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> PR target/90724 * config/aarch64/aarch64.c (aarch64_gen_compare_reg_maybe_ze): Force y in reg if it fails aarch64_plus_operand predicate.