[Bug c++/21279] static Derived-to-Base cast fails when ~Derived has run.

2005-04-29 Thread murrayc at murrayc dot com
--- Additional Comments From murrayc at murrayc dot com 2005-04-29 08:20 --- Created an attachment (id=8761) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8761&action=view) test_castdeleted.cc This fails (gives odd values) with g++ 3.3, 3.4 and 4.0. -- http://gcc.gnu.org/bugzi

[Bug c++/21279] static Derived-to-Base cast fails when ~Derived has run.

2005-04-29 Thread hpreg at vmware dot com
--- Additional Comments From hpreg at vmware dot com 2005-04-30 05:33 --- *** Bug 20304 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/21279] static Derived-to-Base cast fails when ~Derived has run.

2005-04-29 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-30 05:46 --- I think this is invalid but I don't have the standard in front of me. -- What|Removed |Added

[Bug c++/21279] static Derived-to-Base cast fails when ~Derived has run.

2005-05-02 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-05-02 18:42 --- I would be very much surprised if this was allowed. But then I, too, can't find any normative statements in the standard. Maybe looking at the wrong places, though... W. -- http://gcc.gnu.org/bugzilla/

[Bug c++/21279] static Derived-to-Base cast fails when ~Derived has run.

2006-03-03 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2006-03-03 20:21 --- 3.8 Object Lifetime[basic.life] ... Before the lifetime of an object has started but after the storage which the object will occupy has been allocated or, after the lifetime of an object has ended and before th