https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102876
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Though, I guess the FE would need to express in the ifns how exactly is the dynamic initialization ordered, whether it is unordered, partially ordered or ordered, so that the middle-end optimization could just rely on what the FE tells it.