This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40527] #pragma pack([push,] n) should be coded in the signature
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2009 18:53:24 -0000
- Subject: [Bug c++/40527] #pragma pack([push,] n) should be coded in the signature
- References: <bug-40527-17870@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jason at gcc dot gnu dot org 2009-11-10 18:53 -------
This falls in the category of diagnosing ODR violations, which we don't really
try to do currently. It would be possible to do some ODR checking based on the
debug info that we already emit; that seems a more promising route than
breaking the ABI for this sort of thing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40527