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]

Re: C++ crash with -fno-exceptions


On Wed, Dec 20, 2000 at 07:13:54PM +0100, Gabriel Dos Reis wrote:
> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
> 
> | [1  <text/plain; US-ASCII (7bit)>]
> | If I disable exception handling with -fno-exceptions
> 
> This is a real question: Is the standard library supposed to work
> with -fno-exceptions? 

Well... [17.4.4.8]/1 starts with

# Any of the functions defined in the C++ Standard Library can report a
# failure by throwing an exception of the type(s) described in their Throws:
# paragraph and/or their exception-specification.

so I think if 3.0 ships with a library that requires exception handling,
we would be okay.  Still, it would be nice if we could build a library
that worked with -fno-exceptions.  I think we'd be looking at Yet Another
Multilib Configuration.


-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

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