public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/2276: Crash when a virtual base class constructor throws an exception
@ 2001-06-14 21:02 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2001-06-14 21:02 UTC (permalink / raw)
  To: aph, gcc-bugs, gcc-prs, jason, nobody

Synopsis: Crash when a virtual base class constructor throws an exception

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Jun 14 21:02:44 2001
State-Changed-Why:
    With: gcc version 3.0 20010614 (prerelease) 
    Your example compiles and runs fine without crashing

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2276&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c++/2276: Crash when a virtual base class constructor throws an exception
@ 2001-04-01  0:00 aph
  0 siblings, 0 replies; 2+ messages in thread
From: aph @ 2001-04-01  0:00 UTC (permalink / raw)
  To: gcc-gnats; +Cc: jason

>Number:         2276
>Category:       c++
>Synopsis:       Crash when a virtual base class constructor throws an exception
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 13 08:36:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Haley
>Release:        Current CVS
>Organization:
>Environment:
i686-pc-linux
>Description:

>How-To-Repeat:
This program generates a SEGV with current source.

It didn't with 2.95.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="crash.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="crash.cc"

I2luY2x1ZGUgPGlvc3RyZWFtPgovLyAjaW5jbHVkZSA8b3N0cmVhbT4KI2luY2x1ZGUgPHN0ZGV4
Y2VwdD4KCiAgY2xhc3MgdHJhbnNmZXI7CgogIGNsYXNzIGJhcgogIHsKICAgIGludCBqOwogICAg
cHVibGljOgogICAgYmFyICgpIHt9OwogICAgfmJhciAoKSB7fTsKICB9OwoKICBjbGFzcyBvbmUg
IDogdmlydHVhbCBiYXIgeyBpbnQgaTsgfTsKICBzdHJ1Y3QgdHdvIHsgaW50IGk7IH07CgogIGNs
YXNzIGZvbyA6IHR3bywgb25lCiAgewogICAgaW50IHg7CiAgcHVibGljOgogICAgZm9vICh0cmFu
c2ZlciAqKSB7fTsKICB9OwoKICBjbGFzcyB0cmFuc2ZlcgogIHsKICBwdWJsaWM6CiAgICB0cmFu
c2ZlcigpIAogICAgeyAKICAgICAgdGhyb3cgc3RkOjppbnZhbGlkX2FyZ3VtZW50KCJvb3BzIik7
IAogICAgfTsKICB9OwoKICBjbGFzcyBkZXJpdmVkX2NsYXNzOiBmb28KICB7CiAgcHVibGljOgog
ICAgZGVyaXZlZF9jbGFzcyAoaW50IGR1bW15KQogICAgICA6IGZvbyhuZXcgdHJhbnNmZXIoKSkg
ewogICAgfTsKICB9OwoKaW50Cm1haW4gKGludCBhcmdjLCBjaGFyICphcmd2W10pIHsKICAgIHRy
eSB7CiAgICAgICAgZGVyaXZlZF9jbGFzcyBGVFMoMCk7CiAgICB9IGNhdGNoICguLi4pIHsKICAg
ICAgICBzdGQ6OmNlcnIgPDwgImNhdWdodCBzb21ldGhpbmdcbiI7CiAgICB9CgogICAgcmV0dXJu
IDA7Cn0K


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-14 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-14 21:02 c++/2276: Crash when a virtual base class constructor throws an exception rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-04-01  0:00 aph

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).