This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/224: gcc 2.95.2 crashes with internal compiler error when compiling ddd 3.2.1
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/224: gcc 2.95.2 crashes with internal compiler error when compiling ddd 3.2.1
- From: rogier dot goossens at cmg dot nl
- Date: 17 May 2000 18:28:30 -0000
- Reply-To: rogier dot goossens at cmg dot nl
- Resent-Cc: gcc-prs at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, rogier.goossens@cmg.nl
>Number: 224
>Category: c++
>Synopsis: gcc 2.95.2 crashes with internal compiler error when compiling ddd 3.2.1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed May 17 11:36:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Rogier Goossens
>Release: gcc-2.95.2 19991024
>Organization:
>Environment:
Alpha EV5 Digital Unix 4.0d
>Description:
When compiling ddd 3.2.1, I get an internal compiler error in the ddd file HelpCB.C (line 2155)
In the gcc code, this error occurs in the function scan-region, in except.c at line 2566
The gcc command line is:
c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs -c -I. -I. -I./.. -o HelpCB.o HelpCB.
Note: I have not checked the code, but I assume it is legal.
>How-To-Repeat:
Compile ddd version 3.2.1
>Fix:
(workaround)
Moving the lines from
MString tip = get_tip_string(w, &ti->event);
Up to & including
XtVaSetValues(tip_label, XmNlabelString, tip.xmstring(), NULL);
into a separate function 'solves' the problem.
>Release-Note:
>Audit-Trail:
>Unformatted: