[Bug c++/19605] [4.0 Regression] Wrong member offset in inherited classes

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 26 04:12:00 GMT 2005


------- Additional Comments From bangerth at dealii dot org  2005-01-26 04:12 -------
This is certainly undefined code: you are dereferencing the Null pointer. 
It's a different matter of QoI whether we want to support this anyway. 
It's basically a different way to say offsetof, an area in which I believe 
Nathan has considerable experience. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu dot
                   |                            |org


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



More information about the Gcc-bugs mailing list