https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98010
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-November/560454.html Now FIXED on mainline. One could argue whether it should or shouldn't be backported as depending on the use this may lead to wrong code. (Local array in static memory instead of stack but used concurrently with different values.)