Bug 62456 - Initializer element is not constant
Summary: Initializer element is not constant
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc
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-01 06:57 UTC by vvs
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:55:07 UTC
Embargoed:


Attachments (Terms of Use)
preprocessed test case (177.15 KB, text/plain)
2002-04-01 06:58 UTC, vvs
no flags Details

Description vvs 2002-04-01 06:57:35 UTC
Description of Problem:

Compilation of the attached file failed with error

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

gcc-2.96-109

How Reproducible:

Always

Steps to Reproduce:
1. Save the attached file
2. gcc -c network.i

Actual Results:

network.c:281: initializer element is not constant
network.c:281: (near initialization for `CommandsIn[0].first')
network.c:282: initializer element is not constant
network.c:282: (near initialization for `CommandsOut[0].first')

Expected Results:

Successful compilation

Additional Information:
	
This file was compiled successfully with gcc 3.1

Comment 1 vvs 2002-04-01 06:58:34 UTC
Created attachment 51605 [details]
preprocessed test case

Comment 2 Richard Henderson 2004-10-02 19:55:07 UTC
Fixed in gcc 3.


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