https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66090
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |INVALID --- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Seems like the conclusion is that this is just UB in the code. Closing thus.