https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90314
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2019-05-02 Version|unknown |10.0 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Also reported at https://gcc.gnu.org/ml/libstdc++/2019-05/msg00008.html I'm pretty sure clang is wrong, but I'll change our code anyway, for the reason you give.