https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122410
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hp at gcc dot gnu.org
--- Comment #3 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #0)
> As noted in Bug 122267 we do not enforce correct alignment of atomics in
> some cases.
>
> Quoting from Bug 122267 comment 9:
>
> There's a pre-existing bug (before r16-4349) for atomic_ref<double> and
> atomic_ref<T*> on cris-elf and m69k-linux-gnu, because they have weaker
> alignment for those types. We need to align those to sizeof(double) and
> sizeof(T*) respectively. But that was already wrong in GCC 15 so I'll fix
> that separately.
FWIW, manifested for cris-elf as 29_atomics/atomic_ref/requirements.cc failing.
(But IIUC not to be addressed in this PR.)