re PR c++/11072 (Implementation of offsetof macro)
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 2 Jul 2003 14:30:53 +0000 (14:30 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 2 Jul 2003 14:30:53 +0000 (14:30 +0000)
commit300e89a2b66eb8d9d9467168251927525d5c4fe8
treec7270cd5c87616a67700ed7086e69da94972c8fc
parenteaac6968d6102aa421ef9109d2440b520fad0a76
re PR c++/11072 (Implementation of offsetof macro)

PR c++/11072
* ginclude/stddef.h (offsetof): Remove cast to 'char &'. Explain why.
testsuite:
PR c++/11072
* g++.dg/other/offsetof2.C: XFAIL.
* g++.dg/other/offsetof5.C: New.

From-SVN: r68831
gcc/ChangeLog
gcc/ginclude/stddef.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/offsetof2.C
gcc/testsuite/g++.dg/other/offsetof5.C [new file with mode: 0644]