https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89179
--- Comment #17 from Steve Ellcey <sje at gcc dot gnu.org> --- The bug I was seeing on aarch64 turns out to be PR 91404. It has now been fixed. I don't know if that patch will also fix the original bug seen on Darwin or not.