https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109890
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-05-17 Status|UNCONFIRMED |NEW --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- For trivial types the std::uninitialized_xxx algos elide the constructors and just do something like memcpy/memset. We need to use std::is_constant_evaluated() to elide the elision in this case.