This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2006 23:03:44 -0000
- Subject: [Bug c++/27601] [4.0/4.1/4.2 Regression] ICE (in fold_offsetof_1, at c-common.c:5998) on strange offsetof
- References: <bug-27601-12684@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from reichelt at gcc dot gnu dot org 2006-06-12 23:03 -------
Subject: Bug 27601
Author: reichelt
Date: Mon Jun 12 23:03:36 2006
New Revision: 114590
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114590
Log:
PR c++/27601
* semantics.c (finish_offsetof): Handle pseudo-destructors.
* g++.dg/ext/offsetof1.C: Add test for pseudo-destructors.
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/semantics.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/ext/offsetof1.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27601