🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ron Guilmette Fri, 10 Feb 1989 21:27
BUG in g++ 1.32.0
#1681
Author: Ron Guilmette
Date: Fri, 10 Feb 1989 21:27
22 lines
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;
}
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