Bug 19608

Summary: Internal error #122 in cc1plus
Product: [Retired] Red Hat Linux Reporter: Matt Wilson <msw>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-24 11:13:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
.ii file for error none

Description Matt Wilson 2000-10-23 15:21:09 UTC
[msw@localhost ~/ice]$ g++ -o /tmp/out -c sdbsql.ii 
/usr/src/oo/oo_605_src/svtools/source/svsql/sdbsql.cxx: In function `void 
SdbSqlParseNode::NegateSearchCondition (SdbSqlParseNode *&, unsigned
char)':
/usr/src/oo/oo_605_src/svtools/source/svsql/sdbsql.cxx:1006: parse error
before `not'
/usr/src/oo/oo_605_src/svtools/source/svsql/sdbsql.cxx:1007:
`pSearchCondition' undeclared (first use 
this function)
/usr/src/oo/oo_605_src/svtools/source/svsql/sdbsql.cxx:1007: (Each
undeclared identifier is reported 
only once for each function it appears in.)
/usr/src/oo/oo_605_src/svtools/source/svsql/sdbsql.cxx:1010: Internal error
#122.
/usr/src/oo/oo_605_src/svtools/source/svsql/sdbsql.cxx:1010: Internal
compiler error in finish_function, at ../gcc/cp/decl.c:14422
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
gcc-2.96-57
bash-2.04$ rpm -q gcc-c++
gcc-c++-2.96-57

Comment 1 Matt Wilson 2000-10-23 15:21:35 UTC
Created attachment 4560 [details]
.ii file for error

Comment 2 Trond Eivind Glomsrxd 2000-10-23 15:25:38 UTC
This isn't a gdb bug, it's a gcc bug - changing components and reassigning.

Comment 3 Jakub Jelinek 2000-12-20 11:58:38 UTC
Fixed in gcc-c++-2.96-69.