https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90724
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>: https://gcc.gnu.org/g:65709f4b93c74101440ab16bf4bddf6e44672177 commit r9-8247-g65709f4b93c74101440ab16bf4bddf6e44672177 Author: Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> Date: Wed Aug 21 18:34:43 2019 +0000 re PR target/90724 (ICE with __sync_bool_compare_and_swap with -march=armv8.2-a+sve) 2020-02-18 Richard Sandiford <richard.sandif...@arm.com> gcc/ 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.