On 3 May 2012 17:16, Samuel David wrote: > Hi gcc team, > > The following code creates orphaned memory by ignoring the return value of > new:
[...] > Should g++ report a compile-time warning for this case? Maybe. If you think so then please open a bugzilla report asking for a new warning, thanks.