public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: debug/8446: stabs generation crashes when class inherits from typedef struct
@ 2002-12-11 12:54 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-12-11 12:54 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hb, nobody

Synopsis: stabs generation crashes when class inherits from typedef struct

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Dec 11 12:54:43 2002
State-Changed-Why:
    Confirmed

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8446


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

* debug/8446: stabs generation crashes when class inherits from typedef struct
@ 2002-11-04  2:36 hb
  0 siblings, 0 replies; 2+ messages in thread
From: hb @ 2002-11-04  2:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         8446
>Category:       debug
>Synopsis:       stabs generation crashes when class inherits from typedef struct
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 04 02:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nicholas Vinen
>Release:        3.2
>Organization:
>Environment:
i686-pc-linux-gnu (SuSE 7.3)
>Description:
The small file below causes GCC 3.2 to crash. It is because the STABS debug record generator can't handle classes which derive from typedef'd structs. Most other debug outputs can, and GCC compiles it fine. I am currently downloading the CVS version to see if it happens there too, but it isn't finished yet.
>How-To-Repeat:
g++ -gstabs test2.cc
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="test2.cc"
Content-Disposition: inline; filename="test2.cc"


typedef struct
{
	int a;
} foo;

class bar : public foo
{
};

int main(void)
{
	return 0;
}


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

end of thread, other threads:[~2002-12-11 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-11 12:54 debug/8446: stabs generation crashes when class inherits from typedef struct bangerth
  -- strict thread matches above, loose matches on Subject: below --
2002-11-04  2:36 hb

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