This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: mingw32 egcs bug report - segmentation fault related to use of `this'?
- To: Horst von Brand <vonbrand at inf dot utfsm dot cl>
- Subject: Re: mingw32 egcs bug report - segmentation fault related to use of `this'?
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Tue, 12 Jan 1999 18:26:01 -0600 (CST)
- cc: Rich Churcher <rich dot c at es dot co dot nz>, egcs-bugs at cygnus dot com
On Tue, 12 Jan 1999, Horst von Brand wrote:
> Is this _two_ bugs then? CC1PLUS segfaults, and SIGSEGV isn't handled right
> by the runtime?
No, one. Both are one and the same. SIGSEGV --> sighandler --> exit with
error code. If signal handling doesn't work, no exit with error code, but
rather an ugly abort, and the exception propagates out of main since it
wasn't handled properly.
In case you didn't know, cc1plus segfaults all the time when given faulty,
and sometimes even correct ;-), code. You just see a nicer message on Unix
boxes.
Regards,
Mumit