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

2005-01-28 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-01-29 00:00 --- This is undefined behavior, and it is not worthwhile to try to make this work. There are existing ways (offsetof and poiners-to-members) to accomplish what the submitter wants to do. -- What

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

2005-01-25 Thread bangerth at dealii dot org
--- 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

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

2005-01-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-24 15:02 --- Someone else has to say if this is valid C++ but I think it is just undefined but I could be wrong. -- What|Removed |Added

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

2005-01-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-24 15:04 --- Also one note is that 3.4.0 produces the same as 3.2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19605

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

2005-01-24 Thread fm3 at os dot inf dot tu-dresden dot de
--- Additional Comments From fm3 at os dot inf dot tu-dresden dot de 2005-01-24 15:12 --- added myself as cc -- What|Removed |Added CC|