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++/15967] [3.4/3.5 regression] ICE on ambiguous operator new in class hierarchy


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


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