Bug 24506 - Internal compiler error using nested function and variable length array
Summary: Internal compiler error using nested function and variable length array
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc   
(Show other bugs)
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-01-21 16:18 UTC by Alex Selby
Modified: 2007-04-18 16:30 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-01-21 18:35:44 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Alex Selby 2001-01-21 16:18:51 UTC
Compiling this

int b;
void pl()
{
  int p(int t[b]){
  }
}

using gcc-2.96-69 and the command

gcc -c fred.c

gives this output

fred.c: In function `p':
fred.c:4: Internal compiler error in expand_expr, at expr.c:6179
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

Comment 1 Jakub Jelinek 2001-02-14 14:14:03 UTC
Should be fixed in gcc-2.96-75.


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