Thread View: gnu.g++.bug
1 messages
1 total messages
Started by "Douglas C. Schmidt"
Sun, 27 Nov 1988 00:11
Short program kills g++ on the sparc
Author: "Douglas C. Schmidt"
Date: Sun, 27 Nov 1988 00:11
Date: Sun, 27 Nov 1988 00:11
29 lines
1240 bytes
1240 bytes
Hi,
The following program causes a segmentation fault on the sparc
for g++ 1.27:
----------------------------------------
main()
{
char *option[] = {"Maximum", "Minimum", "Mean", "Median" };
}
----------------------------------------
Here's the compiler output:
g++ version 1.27.0
/usr/public/lib/g++/gcc-cpp+ -v -I/cd/ua/schmidt/include/ -undef
-D__GNU__ -D__GNUG__ -Dsparc -Dsun -Dunix -+ foo.c /tmp/cca29819.cpp
GNU CPP version 1.27.0
/usr/public/lib/g++/gcc-c++ /tmp/cca29819.cpp -quiet -dumpbase foo.c
-finline-functions -fmemoize-lookups -fsave-memoized -fchar-charconst
-version -o /tmp/cca29819.s GNU C++ version 1.27.0 (sparc) compiled by
GNU C version 1.28.
/usr/public/g++: Program c++ got fatal signal 6.
----------------------------------------
Doug
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