public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3723: run-time SIGSEV with exception - sparc - optimized
@ 2002-01-24 3:09 jason
0 siblings, 0 replies; 2+ messages in thread
From: jason @ 2002-01-24 3:09 UTC (permalink / raw)
To: amaury, gcc-bugs, gcc-prs, nobody
Synopsis: run-time SIGSEV with exception - sparc - optimized
State-Changed-From-To: open->closed
State-Changed-By: jason
State-Changed-When: Thu Jan 24 03:09:20 2002
State-Changed-Why:
Duplicate of (fixed) PR 2432.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3723
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/3723: run-time SIGSEV with exception - sparc - optimized
@ 2001-07-17 17:46 amaury
0 siblings, 0 replies; 2+ messages in thread
From: amaury @ 2001-07-17 17:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 3723
>Category: c++
>Synopsis: run-time SIGSEV with exception - sparc - optimized
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 17 17:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: amaury@ethernix.org
>Release: gcc-3.0
>Organization:
>Environment:
Configured with: ../gcc-3.0/configure --prefix=/home/gcc/gcc-3.0-sparc-install
Thread model: posix
gcc version 3.0
>Description:
The following example crashes when the exception is thrown.
Everything is fine in debug mode.
class Object {
public:
Object (void);
virtual ~Object (void);
};
// create a new object
Object::Object (void) {
}
// destroy this object
Object::~Object (void) {
}
// this function throw the object
static void lance (void) {
throw Object ();
}
int main (int, char**) {
// try to catch the object
try {
lance ();
} catch (...) {
return 0;
}
return 1;
}
>How-To-Repeat:
g++ -Wall -O2 -o bug bug.cpp
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-01-24 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-24 3:09 c++/3723: run-time SIGSEV with exception - sparc - optimized jason
-- strict thread matches above, loose matches on Subject: below --
2001-07-17 17:46 amaury
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).