Bug 74259

Summary: Internal compiler error
Product: [Retired] Red Hat Raw Hide Reporter: Need Real Name <derek>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.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-01 16:46:52 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:

Description Need Real Name 2002-09-18 20:03:49 UTC
Description of Problem:

The following program causes gcc to output an
Internal compiler error in expand_call, at calls.c:3062

struct { int : 0;} x;

void f(void)
{
g(x);
}

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

gcc version 2.92

How Reproducible:

Happens everytime.

Steps to Reproduce:
1. gcc file.c
2. 
3. 

Actual Results:

Above Internal compiler error.

Expected Results:

Not to give an internal error.

Additional Information:
	
The C Standard specifies, 6.7.2.1 para 7, the behavior as being undefined.
gcc should fail more gracefully.

Comment 1 Vladimir Makarov 2004-10-01 16:46:52 UTC
Now gcc 2.92 is too old.   Its release cycle finished long ago.  So I
am closing the bug.  If it is still important, the customer could
reopen it.