Bug 62797 - gcc 3.1-0.23.1 ICE on legal but silly code
Summary: gcc 3.1-0.23.1 ICE on legal but silly code
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc3
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-05 18:06 UTC by Peter Klotz
Modified: 2007-04-18 16:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-02 19:56:40 UTC
Embargoed:


Attachments (Terms of Use)

Description Peter Klotz 2002-04-05 18:06:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9) Gecko/20020311

Description of problem:
The program under "Additional Information" produces an Internal Compiler Error.
Happens also with gcc 2.96 and gcc 2.95.3.

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


How reproducible:
Always

Steps to Reproduce:
1.Compile
2.Run
3.
	

Actual Results:  ICE

Expected Results:  Some compiler message about exceeding system limits.

Additional info:

int main(void)
{
	int i[1000000000];
	return 0;
}

Comment 1 Richard Henderson 2004-10-02 19:56:40 UTC
Fixed for gcc 3.0.

z.c:3: size of variable `i' is too large


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