This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof



------- Comment #5 from reichelt at gcc dot gnu dot org  2006-06-04 23:47 -------
Subject: Bug 27601

Author: reichelt
Date: Sun Jun  4 23:47:15 2006
New Revision: 114370

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114370
Log:
        PR c++/27601
        * c-common.c (fold_offsetof_1): Handle static members.

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

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/offsetof1.C
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/c-common.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]