Article View: gnu.g++.bug
Article #1914BUG in G++ 1.35.0-
From: Ron Guilmette
Date: Fri, 28 Apr 1989 19:12
Date: Fri, 28 Apr 1989 19:12
38 lines
1536 bytes
1536 bytes
b046 had missed error(s) as follows:
14: test_1 (); // ERROR
15: base_object.member (); // ERROR
b046: FAILED
---------------------------------------------------------------------
// Check that an inline function must be defined before it
// is called.
inline void test_1 ();
struct base {
inline void member ();
};
base base_object;
void test_2 ()
{
test_1 (); // ERROR
base_object.member (); // ERROR
}
inline void test_1 ()
{
}
inline void base::member ()
{
}
------------------------------------------------------------------------
/usr/local/src/src/g++/build/sun3/1.35-.0-.0/g++ -B/usr/local/src/src/g++/build/sun3/1.35-.0-.0/ -Wall -Wwrite-strings -S -v b046.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__ -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -Wall -D__HAVE_68881__ -Dmc68020 b046.C /tmp/cca07559.cpp
GNU CPP version 1.35.0-.0
/usr/local/src/src/g++/build/sun3/1.35-.0-.0/c++ /tmp/cca07559.cpp -quiet -dumpbase b046.C -Wall -Wwrite-strings -noreg -version -o b046.s
GNU C++ version 1.35.0-.0 (68k, MIT syntax) compiled by GNU C version 1.34.1.
Technical Details
Message-ID:
<8904281912.AA07581@riunite.aca.mcc.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!MCC.COM!rfgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!MCC.COM!rfg From: rfg@MCC.COM (Ron Guilmette) Newsgroups: gnu.g++.bug Subject: BUG in G++ 1.35.0- Message-ID: <8904281912.AA07581@riunite.aca.mcc.com> Date: 28 Apr 89 19:12:15 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 38