https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92692
Sebastian Pop <spop at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spop at gcc dot gnu.org --- Comment #21 from Sebastian Pop <spop at gcc dot gnu.org> --- 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!