[Bug c++/106151] Inconsistent optimization when defaulting aggregate vs non-aggregate
barry.revzin at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 30 21:32:24 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106151
--- Comment #2 from Barry Revzin <barry.revzin at gmail dot com> ---
I guess that's like:
C++11/14: neither is an aggregate (base class).
C++17: both are aggregates.
C++20: Bar is an aggregate, but Foo is not (user-declared constructor).
But that really shouldn't affect the code-gen here? (right???)
More information about the Gcc-bugs
mailing list