This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]