This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53059] sizeof(std::list)=12 was 8 in previous releases
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Apr 2012 19:18:13 +0000
- Subject: [Bug c++/53059] sizeof(std::list)=12 was 8 in previous releases
- Auto-submitted: auto-generated
- References: <bug-53059-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53059
--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-22 19:18:13 UTC ---
That last situation is really totally unsupported and never was. By the way, I
don't know if you noticed already, but it doesn't work for many, many, reasons
outside sizes of containers. It's totally broken everywhere. The linker should
also warn about that, I think we have a PR, it's a much more general issue,
warn when linking together stuff built passing ABI-incompatible switches.