[Bug c++/35741] [4.2/4.3/4.4 regression] ICE with offsetof and references
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 2 17:17:00 GMT 2008
------- Comment #2 from jakub at gcc dot gnu dot org 2008-04-02 17:17 -------
IMNSHO this is invalid.
[lib.support.types]/5 says the first argument must be a POD structure or POD
union, but struct A isn't POD structure because of the reference in it.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35741
More information about the Gcc-bugs
mailing list