[Bug libstdc++/108951] std::valarray doesn't support extended alignment
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 24 10:47:35 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108951
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ugh, except that we don't have _Tp in __valarray_release_memory either!
So we could only make that work for targets where aligned delete uses free, so
that __valarray_release_memory could use a mismatched unaligned delete.
I think instead __valarray_release_memory should be a function template.
More information about the Gcc-bugs
mailing list