schmidt%blanche.ics.uci.edu@ORION.CF.UCI.EDU ("Douglas C. Schmidt") (11/27/88)
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