OSDN Git Service

PR c++/11072
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jul 2003 14:30:53 +0000 (14:30 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jul 2003 14:30:53 +0000 (14:30 +0000)
commit64658f9a22d24e65fa12749a2861192cf0bf3b12
treec7270cd5c87616a67700ed7086e69da94972c8fc
parentc364acf4fc31d31a9bcccf9a38e0b57daffb1d43
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68831 138bc75d-0d04-0410-961f-82ee72b054a4
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]