[Bug c++/20763] [4.0/4.1 regression] Incompatible struct alignment change
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 5 14:04:00 GMT 2005
------- Additional Comments From jakub at gcc dot gnu dot org 2005-04-05 14:04 -------
Mark, this seems to be caused by
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01720.html
The attributes are attached to the cdk_id declarator which is stored inside
of a cdk_pointer declarator, but grokdeclarator only looks at
declarator->attributes of the non-cdk_id declarators and so the attributes
get lost.
I'm not sure where is the best place to handle these, so will work on
g++.dg-struct-layout-1 testsuite which ought to catch such ABI changes instead.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu dot org
AssignedTo|jakub at gcc dot gnu dot org|unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20763
More information about the Gcc-bugs
mailing list