This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20746] [4.0 only] Incorrect return value for covariant return function returning null ptr
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2005 22:35:37 -0000
- Subject: [Bug c++/20746] [4.0 only] Incorrect return value for covariant return function returning null ptr
- References: <20050404142435.20746.yanliu@ca.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2005-07-06 22:35 -------
I reopen the bug so we don't forget about this for 4.0.2.
Stephen, to clarify: we know that this is indeed a bug, and this is why it
*was* fixed for 4.1. The fact is that the 4.0 serie is already out so we
usually just consider regression fixes for it (that is, patches which fix
problems appeared in 4.0 which were not present before). Since the code you
provided never worked on any version of GCC, we assume it could wait another
iteration up to 4.1. Anyway, Mark already approved it for 4.0.2 as an exception
to the rule, so the fix will be present in that version.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
Summary|Incorrect return value for |[4.0 only] Incorrect return
|covariant return function |value for covariant return
|returning null ptr |function returning null ptr
Target Milestone|4.1.0 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20746