This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Exceptions broken in egcs-2.93.03 ?
On Feb 18, 1999, Oskar Enoksson <osken393@student.liu.se> wrote:
> On my alphaev56-dec-osf4.0d and egcs-2.93.03 exceptions seems to not
> get caught:
> main() { try { throw; } catch(...) { return 0; } }
>> c++ -o bar bar.cpp
>> ./bar
> Abort
Seems correct. You're trying to rethrown when there's no exception
being handled. Try to throw something, such as true or 1, and submit
a new report again if you still find problem.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil