rfg@MCC.COM (Ron Guilmette) (05/11/89)
The following program causes g++ 1.35.0- to SEGFAULT. ------------------------------------------------------------------ // Check that enum types can be declared within unions. union u { int member; enum color { red, orange, yellow }; color c; }; int main () { return 0; } ------------------------------------------------------------------ g++-new-new -g -Wall -Wwrite-strings -v -S a034.C g++ version 1.35.0-.0 /usr/local/src/lib/sun3/g++-1.35.0-.0/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -Wall -D__HAVE_68881__ -Dmc68020 a034.C /tmp/cca18166.cpp GNU CPP version 1.35.0-.0 /usr/local/src/lib/sun3/g++-1.35.0-.0/gcc-cc1plus /tmp/cca18166.cpp -quiet -dumpbase a034.C -Wall -Wwrite-strings -noreg -version -G -o a034.s g++-new-new: Program cc1plus got fatal signal 11.