This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16618] [3.4/3.5 regression] offsetof fails with constant member
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2004 14:15:04 -0000
- Subject: [Bug c++/16618] [3.4/3.5 regression] offsetof fails with constant member
- References: <20040718173631.16618.jrh5y6virbl36ay@optonline.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-07-19 14:14 -------
Confirmed. On mainline, we don't use a macro anymore, but __builtin_offsetof,
but surprisingly the message about reinterpret_cast is still there
despite the fact that preprocessed sources don't have that cast there
any more.
This is a regression in 3.4 and mainline against 3.3.x in which it worked.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Known to fail| |3.4.0 3.5.0
Known to work| |3.3.4
Last reconfirmed|0000-00-00 00:00:00 |2004-07-19 14:14:59
date| |
Summary|In C++, offsetof fails with |[3.4/3.5 regression]
|constant member |offsetof fails with constant
| |member
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16618