]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Sun, 4 Jun 2006 23:51:52 +0000 (23:51 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Sun, 4 Jun 2006 23:51:52 +0000 (23:51 +0000)
commitb4dd4f53a95674c0f0c3ac7f63d68910b5a2714c
treefb083ef5d9be95c3bd65d489ee389a0d98e3307d
parentfdcf2accb13b4ba9c00d793f176e1ea425834445
re PR c++/27601 (ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof)

PR c++/27601
* c-common.c (fold_offsetof_1): Handle static members.

* g++.dg/ext/offsetof1.C: New test.

From-SVN: r114371
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/offsetof1.C [new file with mode: 0644]