public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/7083: internal error (segfault) using -gstabs with dodgy class derivation
@ 2002-06-20  3:46 dmonksfd
  0 siblings, 0 replies; 2+ messages in thread
From: dmonksfd @ 2002-06-20  3:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7083
>Category:       c++
>Synopsis:       internal error (segfault) using -gstabs with dodgy class derivation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 20 03:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     David Monksfield
>Release:        3.1
>Organization:
>Environment:

>Description:
gcc -v:
    Reading specs from /tools/gcc/3.1/i686-2.4.7-10/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
    Configured with: ../gcc-3.1/configure --prefix=/tools/gcc/3.1 --exec-prefix=/tools/gcc/3.1/i686-2.4.7-10 --disable-nls --enable-shared
    Thread model: single
    gcc version 3.1

Command line:
    g++ -gstabs -c gcc31bug.cc

Output:
    gcc31bug.cc:5: internal error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Preprocessed source:
    # 1 "gcc31bug.cc"
    # 1 "<built-in>"
    # 1 "<command line>"
    # 1 "gcc31bug.cc"
    typedef struct {
        int x;
    } A;

    class B: public A {
        int y;
    };

Notes:
    This is nasty (probably invalid) code, but it works
    under -ggdb, and probably shouldn't segfault anyway.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: c++/7083: internal error (segfault) using -gstabs with dodgy class derivation
@ 2002-10-26  7:30 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-10-26  7:30 UTC (permalink / raw)
  To: dmonksfd, gcc-bugs, gcc-prs, nobody

Synopsis: internal error (segfault) using -gstabs with dodgy class derivation

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Oct 26 07:30:53 2002
State-Changed-Why:
    Confirm.

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


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

end of thread, other threads:[~2002-10-26 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-20  3:46 c++/7083: internal error (segfault) using -gstabs with dodgy class derivation dmonksfd
2002-10-26  7:30 lerdsuwa

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