Bug 68164

Summary: gcc internal compiler error in c_expand_expr at c-common.c:4171
Product: [Retired] Red Hat Linux Reporter: cesar.douady
Component: gcc3Assignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-02 21:39:59 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
atom.i : the file to compile to reproduce this bug none

Description cesar.douady 2002-07-07 09:52:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020501

Description of problem:
I get the internal error mentioned in the summary when compiling the attached
code (atom.i)
my version of gcc3 (output of g++3 -v) is 3.0.4 (Red Hat Linux 7.2 3.0.4-1)
This problems seems to occur rather early in the compiler as it does not depend
on options given on the command line (as far as I can tell).

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1."g++3 atom.i" where atom.i is the attached file
2.
3.
	

Actual Results:  I get the diagnostic :
atom.cc: In static member function `static void Cirrus::Atom::_typeInfo()':
atom.cc:116: Internal compiler error in c_expand_expr, at c-common.c:4171
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

Expected Results:  an object or a readable syntax error report.

Additional info:

Comment 1 cesar.douady 2002-07-07 09:54:28 UTC
Created attachment 64084 [details]
atom.i : the file to compile to reproduce this bug

Comment 2 Alan Cox 2002-12-15 21:49:39 UTC
Still present in g++ 3.2


Comment 3 Richard Henderson 2004-10-02 21:39:59 UTC
The test case appears to be invalid, but the ICE persists in gcc 4.0.
Pushed upstream to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17797