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: mingw32 egcs bug report - segmentation fault related to use of `this'?


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




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