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++/16618] [3.4/3.5 regression] offsetof fails with constant member


------- 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


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