This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

middle-end/9936: gcc 3.2, local function and variable-length 2d array


>Number:         9936
>Category:       middle-end
>Synopsis:       gcc 3.2, local function and variable-length 2d array
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 04 11:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     gcc
>Release:        version 3.2.1, 3.2.2
>Organization:
>Environment:
Linux 2.4.18, Mac OS X 10.2.4
>Description:
/* not preprocessed */

int foo() {
  int yd;
  float in[1][yd];
  
  static void bar() {
    printf("%p\n",in[0]);
  }
}
>How-To-Repeat:
gcc -c test0.c
test0.c: In function `bar':
test0.c:7: Internal compiler error in expand_expr, at expr.c:6454
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:
Write ansi compliant code....
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]