Bug 24506

Summary: Internal compiler error using nested function and variable length array
Product: [Retired] Red Hat Linux Reporter: Alex Selby <a.p.selby>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
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: --- Target Upstream Version:
Embargoed:

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.