Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Andrew Gelsey
Thu, 08 Oct 1992 21:08
gcc version 2.2.2 bug in variable-length arrays
Author: Andrew Gelsey
Date: Thu, 08 Oct 1992 21:08
Date: Thu, 08 Oct 1992 21:08
17 lines
786 bytes
786 bytes
wright% cat bug.c
void f(int n) {
double a[n],b[n],c[n][n],d[n][n];
b[0] = 2.2;
}
void main() {
f(2);
}
wright% gcc bug.c
wright% a.out
Bus error
wright% gcc -v
Reading specs from /usr/local/gnu/lib/gcc-lib/sparc-sunos4/2.2.2/specs
gcc version 2.2.2
wright%
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads