https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111374
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING Last reconfirmed| |2025-04-01 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- It's just a false positive warning, not a libstdc++ bug. I suspect this is fixed on trunk (by r15-4473-g3abe751ea86e34) but without a proper testcase it's impossible to tell.