This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/87521] [C++][ABI] Tail padding not reused for non POD struct with defaulted/deleted special member function as per Itanium ABI on x86-64
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Nov 2018 11:39:18 +0000
- Subject: [Bug c++/87521] [C++][ABI] Tail padding not reused for non POD struct with defaulted/deleted special member function as per Itanium ABI on x86-64
- Auto-submitted: auto-generated
- References: <bug-87521-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87521
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, on IRC Bruno already pointed out the problem with the comment 3 example.
That doesn't change my mind, I still think it would be madness for an
defaulted-on-first-declaration trivial destructor to change the type's layout.