This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/9054: segfault on legal code with option -fdump-translation-unit
- From: phil dot el at wanadoo dot fr
- To: gcc-gnats at gcc dot gnu dot org
- Date: 24 Dec 2002 20:58:37 -0000
- Subject: c++/9054: segfault on legal code with option -fdump-translation-unit
- Reply-to: phil dot el at wanadoo dot fr
>Number: 9054
>Category: c++
>Synopsis: segfault on legal code with option -fdump-translation-unit
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Dec 24 13:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: phil.el@wanadoo.fr
>Release: g++ 3.4 20021216 (experimental) and gcc 3.3 20021224 (prerelease)
>Organization:
>Environment:
linux
>Description:
regression from 3.2.1
g++version > 3.2.1 segfault on legal code
I tried these versions.
g++ (GCC) 3.4 20021216 (experimental)
gcc version 3.3 20021224 (prerelease)
$ g++ -fdump-translation-unit ~/tmp.cpp
tmp.cpp:2: internal compiler error: Segmentation fault
$ cat ~/tmp.cpp
struct s1 { virtual ~s1(); };
struct s2 : s1 {};
regards,
Phillipe Elie
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: