* Re: 4.3.0 - Throw from signal handler - dumps core
@ 2008-03-12 16:40 Arne Steinarson
0 siblings, 0 replies; 3+ messages in thread
From: Arne Steinarson @ 2008-03-12 16:40 UTC (permalink / raw)
To: gcc-patches
Sorry, I had missed to set the compiler flag -fnon-call-exceptions.
With that it works as it should. Please ignore.
Regards
// ATS.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 4.3.0 - Throw from signal handler - dumps core
2008-03-12 15:57 Arne Steinarson
@ 2008-03-12 16:09 ` David Daney
0 siblings, 0 replies; 3+ messages in thread
From: David Daney @ 2008-03-12 16:09 UTC (permalink / raw)
To: Arne Steinarson; +Cc: gcc-patches
Arne Steinarson wrote:
> Hello,
>
> Excepton translation is broken in GCC 4.3.0 again (i686-pc-linux-gnu).
>
> After accessing a NULL pointer and with this handler:
>
> void stSigSegvHandler( int signum, siginfo_t * siginfo, void * p ){
> throw "SIGSEGV signaled";
> }
>
> and with a couple of destructors to unwind, gcc dumps core.
>
> It was working in 4.2.1 (with patches mentioned in 34152).
>
> I submitted a new bug report (35555).
>
> It strikes me that if one wants to support this feature in GCC, a test
> should be included when verifying the compiler build.
You mean like gcc.dg/cleanup-9.c ?
David Daney
^ permalink raw reply [flat|nested] 3+ messages in thread
* 4.3.0 - Throw from signal handler - dumps core
@ 2008-03-12 15:57 Arne Steinarson
2008-03-12 16:09 ` David Daney
0 siblings, 1 reply; 3+ messages in thread
From: Arne Steinarson @ 2008-03-12 15:57 UTC (permalink / raw)
To: gcc-patches
Hello,
Excepton translation is broken in GCC 4.3.0 again (i686-pc-linux-gnu).
After accessing a NULL pointer and with this handler:
void stSigSegvHandler( int signum, siginfo_t * siginfo, void * p ){
throw "SIGSEGV signaled";
}
and with a couple of destructors to unwind, gcc dumps core.
It was working in 4.2.1 (with patches mentioned in 34152).
I submitted a new bug report (35555).
It strikes me that if one wants to support this feature in GCC, a test
should be included when verifying the compiler build.
Regards
// ATS.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-12 16:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-12 16:40 4.3.0 - Throw from signal handler - dumps core Arne Steinarson
-- strict thread matches above, loose matches on Subject: below --
2008-03-12 15:57 Arne Steinarson
2008-03-12 16:09 ` David Daney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).