Bug 19609 - cc1plus segfault
Summary: cc1plus segfault
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2000-10-23 15:24 UTC by Matt Wilson
Modified: 2007-04-18 16:29 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2000-10-24 11:13:36 UTC

Attachments (Terms of Use)
horrible .ii file that causes segfault (549.38 KB, text/plain)
2000-10-23 15:24 UTC, Matt Wilson
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2000:132 normal SHIPPED_LIVE Bug fixing update of GCC 2.96 2000-12-19 05:00:00 UTC

Description Matt Wilson 2000-10-23 15:24:06 UTC
Yes, this is a nonsensical c++ file, it's a syntax error nightmare...

[msw@localhost ice]$ g++ -o /tmp/out -c sdbsql.2.ii
In file included from
sdbsql.hxx:219: parse error before `not'
sdbsql.hxx:231: missing ';' before right brace
sdbsql.hxx:233: parse error before `const'
parse error before `*
Internal error: 
Segmentation fault.
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

bash-2.04$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
bash-2.04$ rpm -q gcc
bash-2.04$ rpm -q gcc-c++

Comment 1 Matt Wilson 2000-10-23 15:24:48 UTC
Created attachment 4561 [details]
horrible .ii file that causes segfault

Comment 2 Jakub Jelinek 2000-12-20 12:11:32 UTC
Fixed in gcc-c++-2.96-69.

Note You need to log in before you can comment on or make changes to this bug.