https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692
--- Comment #22 from Wilco <wilco at gcc dot gnu.org> ---
(In reply to Sebastian Pop from comment #21)
> It looks like this hunk from the trunk version of the patch is missing on
> gcc-9 branch:
>
> diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md
> index cabcc58f1a0..1458bc00095 100644
> --- a/gcc/config/aarch64/atomics.md
> +++ b/gcc/config/aarch64/atomics.md
> @@ -104,7 +104,7 @@
> (clobber (match_scratch:SI 7 "=&r"))]
> ""
> "#"
> - "&& reload_completed"
> + "&& epilogue_completed"
> [(const_int 0)]
> {
> aarch64_split_compare_and_swap (operands);
>
>
>
> With this hunk applied my bootstrap passes on the gcc-9 branch on an
> aarch64-linux graviton2.
>
> Without this hunk I see an error in thread sanitizers.
>
> I also have checked gcc-8 release branch and it seems that the patch is not
> missing any hunks in that branch.
>
> Could somebody apply the missing hunk to the gcc-9 release branch? Thanks!
I don't see anything like that on the gcc-9 branch - are you sure you don't
have an outstanding change somehow?