https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109383
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-04-03 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- I guess we've all just implemented exactly what the standard says, without thinking about optimizing it. It's a good idea though, thanks!