Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Ron Guilmette
Wed, 10 May 1989 21:23
BUG in G++ 1.35.0- - SEGFAULT (a034)
Author: Ron Guilmette
Date: Wed, 10 May 1989 21:23
Date: Wed, 10 May 1989 21:23
23 lines
1239 bytes
1239 bytes
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.
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