https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108342
--- Comment #5 from Jonathan Wakely ---
I don't think there's anything the library can do here. The layout of
std::complex is fixed, as stated above. And the fact it's a non-POD is also
fixed.
If the front-end warns about trying to pack a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108342
--- Comment #4 from Rui Oliveira ---
(In reply to Andrew Pinski from comment #2)
> Hmm: diff.cpp03.numerics
I saw you moved the bug to libstdc++ but is the problem libstdc++, or should
g++ just accept packing when it encounters it?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108342
--- Comment #3 from Rui Oliveira ---
(In reply to Andrew Pinski from comment #1)
>
> I know about _Atomic and std::atomic but not std::complex and _Complex.
> Because std::complex was part of C++98 which was done before C99's _Complex
> ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108342
--- Comment #2 from Andrew Pinski ---
Hmm: diff.cpp03.numerics