This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15967] [3.4/3.5 regression] ICE on ambiguous operator new in class hierarchy
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jun 2004 14:15:41 -0000
- Subject: [Bug c++/15967] [3.4/3.5 regression] ICE on ambiguous operator new in class hierarchy
- References: <20040612225420.15967.wwieser@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mark at codesourcery dot com 2004-06-14 14:15 -------
Subject: Re: [3.4/3.5 regression] ICE on ambiguous operator
new in class hierarchy
giovannibajo at libero dot it wrote:
> ------- Additional Comments From giovannibajo at libero dot it 2004-06-14 10:46 -------
> Patch posted, waiting for review:
> http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00976.html
I'm nervous about this patch.
I agree that it seems like the right idea in the abstract, but I'm
nervous about the impact on other fragile bits of the compiler.
Furthermore, the function can still return NULL, so the caller that did
not expect a NULL return value is still broken. Is there a more local
patch that will just deal with that problem?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15967