https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112808
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2023-12-01 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes I've been considering making them opt out for a while (maybe even in optimized builds). The libstdc++ config can use #ifndef __OPTIMIZE__ to detect when building without optimization.