[Bug c++/11072] [3.4 regression] Implementation of offsetof macro

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 2 14:40:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11072



------- Additional Comments From nathan at gcc dot gnu dot org  2003-07-02 14:40 -------
2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/11072
	* ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.

2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/11072
	* g++.dg/other/offsetof2.C: XFAIL.
	* g++.dg/other/offsetof5.C: New.



More information about the Gcc-bugs mailing list