This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3056: gcc 2.95.3 -- atexit not catching exit() call following longjmp
- To: rodrigc at gcc dot gnu dot org, doug dot hackworth at nomos dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wjtomer at nomos dot com
- Subject: Re: c++/3056: gcc 2.95.3 -- atexit not catching exit() call following longjmp
- From: rodrigc at gcc dot gnu dot org
- Date: 8 Sep 2001 04:47:53 -0000
Synopsis: gcc 2.95.3 -- atexit not catching exit() call following longjmp
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Fri Sep 7 21:47:52 2001
State-Changed-Why:
I cannot reproduce your problem with gcc 3.0.1 under Linux.
When I compile your testcase, the program never exits,
it just keeps looping (which I think is the correct behavior):
Try One
SETTING FOR TERMINATION
SETTING AFTER TERMINATION 0
Try Two
SETTING FOR TERMINATION
SETTING AFTER TERMINATION 0
Exiting...
SETTING FOR TERMINATION
SETTING AFTER TERMINATION 0
Exiting...
SETTING FOR TERMINATION
SETTING AFTER TERMINATION 0
Exiting...
Can you try gcc 3.0.1 under Solaris and see if the
bug is still there?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3056&database=gcc