c++/2628
Petter Reinholdtsen
pere@hungry.com
Sun May 20 14:46:00 GMT 2001
The following reply was made to PR c++/2628; it has been noted by GNATS.
From: Petter Reinholdtsen <pere@hungry.com>
To: gcc-gnats@gcc.gnu.org
Cc: nathan@gcc.gnu.org
Subject: Re: c++/2628
Date: Sun, 20 May 2001 23:44:38 +0200
[nathan@gcc.gnu.org]
> You are mistaken about how operator new signals an error
> condition.
Nope, I knew all this. I am just _very_ supprised to discover how
the compiler assumes ::operator new (size_t) will throw exceptions
when using -fno-exceptions.
I believe this is a bug.
I've learned about the flag -fcheck-new since I filed this bugreport,
and believe it should be set by default when using -fno-exceptions.
More information about the Gcc-prs
mailing list