Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Ron Guilmette
Fri, 28 Apr 1989 17:44
BUG in G++ 1.35.0- (test case b043)
Author: Ron Guilmette
Date: Fri, 28 Apr 1989 17:44
Date: Fri, 28 Apr 1989 17:44
53 lines
2098 bytes
2098 bytes
(This error is different from the last one!)
G++ 1.35.0-/Sun3 SEGFAULTS when compiling the following source file.
----------------------------------------------------------------------
// Check that if a function is declared as non-inline that subsequent
// declarations/definitions must also be declared as non-inline.
void function_1 ();
inline void function_1 (); // ERROR
void function_2 ();
inline void function_2 () // ERROR
{
}
struct base {
void member_1 ();
inline void member_1 (); // ERROR
void member_2 ();
inline void member_2 () // ERROR
{}
void member_3 ();
void member_4 ();
};
inline void base::member_3 (); // ERROR
inline void base::member_3 () // possible error
{
}
inline void base::member_4 () // ERROR
{
}
------------------------------------------------------------------------
/usr/local/src/src/g++/build/sun3/1.35-.0-.0/g++ -B/usr/local/src/src/g++/build/sun3/1.35-.0-.0/ -ansi -pedantic -Wall -Wwrite-strings -S -v b043.C
g++ version 1.35.0-.0
/usr/local/src/src/g++/build/sun3/1.35-.0-.0/cpp -+ -v -undef -D__GNU__ -D__GNUG__ -T -D__STRICT_ANSI__ -D__mc68000__ -D__sun__ -D__unix__ -pedantic -Wall -D__HAVE_68881__ b043.C /tmp/cca07118.cpp
GNU CPP version 1.35.0-.0
/usr/local/src/src/g++/build/sun3/1.35-.0-.0/c++ /tmp/cca07118.cpp -quiet -dumpbase b043.C -Wall -Wwrite-strings -pedantic -ansi -noreg -version -o b043.s
/usr/local/src/src/g++/build/sun3/1.35-.0-.0/g++: Program c++ got fatal signal 11.
// Ron Guilmette - MCC - Experimental Systems Kit Project
// 3500 West Balcones Center Drive, Austin, TX 78759 - (512)338-3740
// ARPA: rfg@mcc.com
// UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg
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