Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Charles Thayer
Wed, 30 Sep 1992 06:38
small bug
Author: Charles Thayer
Date: Wed, 30 Sep 1992 06:38
Date: Wed, 30 Sep 1992 06:38
17 lines
1288 bytes
1288 bytes
One of our students pointed this out to me:
[thayer:0] BashER> cat > foo.c
main() {
int offset;
char buf[offset]="";
}
[thayer:0] BashER> g++ foo.c
/usr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 6
[thayer:1] BashER> g++ -v foo.c
Reading specs from /usr/local/lib/gcc-lib/sun4/2.2.2/specs
gcc version 2.2.2
/usr/local/lib/gcc-lib/sun4/2.2.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix foo.c /usr/tmp/cca22327.i
GNU CPP version 2.2.2 (sparc)
/usr/local/lib/gcc-lib/sun4/2.2.2/cc1plus /usr/tmp/cca22327.i -quiet -dumpbase foo.cc -version -o /usr/tmp/cca22327.s
GNU C++ version 2.2.2 (sparc) compiled by GNU C version 2.2.2.
/usr/local/bin/gcc: Internal compiler error: program cc1plus got fatal signal 6
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