https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692
--- Comment #25 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:0b65e477890b7fe7f47a3dd85975ab7ee09b0609 commit r8-10205-g0b65e477890b7fe7f47a3dd85975ab7ee09b0609 Author: Andre Vieira <andre.simoesdiasvie...@arm.com> Date: Thu Apr 16 10:16:15 2020 +0100 Aarch64: Fix shrinkwrapping interactions with atomics (PR92692) 2020-04-16 Andre Vieira <andre.simoesdiasvie...@arm.com> Backport from mainline 2020-01-17 Wilco Dijkstra <wdijk...@arm.com> PR target/92692 * config/aarch64/atomics.md (aarch64_compare_and_swap<mode>) Use epilogue_completed rather than reload_completed.