https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112477
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Assignment of |[13/14 Regression] |value-initialized iterators |Assignment of |differs from |value-initialized iterators |value-initialization |differs from | |value-initialization Known to fail| |13.2.0 Known to work| |12.3.0 CC| |fdumont at gcc dot gnu.org Target Milestone|--- |13.3 --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- You didn't mention this is a recent regression, I assumed it was a pre-existing problem. It seems that the error for Guiseppe's original testcase is also a recent regression, almost certainly the same bug. That seems to be an unintended consequence of that change. As far as I can see, it was supposed to only affect detached iterators, but your example doesn't have any. François, please take a look.