https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108398
Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #9 from Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> --- Original code also had the same UB, which I've sent a PR to fix: https://github.com/dk/Prima/pull/79