Bug 74259 - Internal compiler error
Summary: Internal compiler error
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc
Version: 1.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-18 20:03 UTC by Need Real Name
Modified: 2007-04-18 16:46 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-10-01 16:46:52 UTC
Embargoed:


Attachments (Terms of Use)

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.



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