[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-07-06 Thread scp at predict dot com
--- Additional Comments From scp at predict dot com 2005-07-06 21:47 --- (In reply to comment #9) the bug is not a regression, so it has not gone into 4.0. As there seems to be a need for it, and the patch is small, we could probably do it. Right now 4.0 is frozen for 4.0.1

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-07-05 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2005-07-05 15:40 --- This is OK for 4.0.2, once the branch re-opens. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20746

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-07-01 Thread nathan at gcc dot gnu dot org
--- Additional Comments From nathan at gcc dot gnu dot org 2005-07-01 11:39 --- (In reply to comment #8) This fix has not made it to the gcc_4_0 branch, and the problem still exists in gcc4.0.0. It is trivially recreated using the same test code: the bug is not a regression, so it

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-06-30 Thread scp at predict dot com
--- Additional Comments From scp at predict dot com 2005-06-30 21:00 --- This fix has not made it to the gcc_4_0 branch, and the problem still exists in gcc4.0.0. It is trivially recreated using the same test code: gcc -v -o cv cv.cpp -lstdc++ Reading specs from

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-21 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-22 05:10 --- *** Bug 18098 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-04 14:26 --- *** Bug 20747 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20746

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-04 14:35 --- Test from 20747: extern C void *printf(char * ...); class A { public: virtual void f(); virtual A* i(); virtual void j(); int a; }; class B { public: virtual void f(); virtual void g(); virtual B* l();

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-04 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-04 14:38 --- Confirmed, not a regression. -- What|Removed |Added CC|

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-04 Thread nathan at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org |org Status|NEW

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-04 Thread nathan at gcc dot gnu dot org
--- Additional Comments From nathan at gcc dot gnu dot org 2005-04-04 17:24 --- 2005-04-04 Nathan Sidwell [EMAIL PROTECTED] PR c++/20746 * method.c (use_thunk): Protect covariant pointer return adjustments from NULL pointers. -- What|Removed

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-04 Thread yanliu at ca dot ibm dot com
--- Additional Comments From yanliu at ca dot ibm dot com 2005-04-04 17:37 --- Could you tell me which gcc level has the fix? thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20746

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-04 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20746

[Bug c++/20746] Incorrect return value for covariant return function returning null ptr

2005-04-04 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-04 17:45 --- Subject: Bug 20746 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-04-04 17:45:17 Modified files: gcc/cp : ChangeLog method.c