Article View: gnu.g++.bug
Article #1681BUG in g++ 1.32.0
From: Ron Guilmette
Date: Fri, 10 Feb 1989 21:27
Date: Fri, 10 Feb 1989 21:27
22 lines
888 bytes
888 bytes
The following short piece of code causes g++ 1.32.0 to segfault in c++
on a sun3. This code was adapted from the fib.cc file in libg++ 1.32.0
(which also gets a segfault when being compiled).
The segfault only occurs if the -fmemoize-lookups option is used.
=====================================================================
struct Integer
{
Integer();
~Integer();
};
Integer Private_Error = (unsigned) 0;
struct Extended_Int { Integer Base; };
Extended_Int Mult_Ext() {
Extended_Int Temp;
return Temp;
}
Technical Details
Message-ID:
<8902102127.AA20816@riunite.aca.mcc.com>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!MCC.COM!rfgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!MCC.COM!rfg From: rfg@MCC.COM (Ron Guilmette) Newsgroups: gnu.g++.bug Subject: BUG in g++ 1.32.0 Message-ID: <8902102127.AA20816@riunite.aca.mcc.com> Date: 10 Feb 89 21:27:14 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 22