🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by "Douglas C. Schmidt" Mon, 02 Jan 1989 23:53
program causes infinite loop in g++ 1.32
#1591
Author: "Douglas C. Schmidt"
Date: Mon, 02 Jan 1989 23:53
29 lines
913 bytes
Hi,

  The following short C++ program causes g++ 1.32 to go into
an infinite loop in the functions:

actualparameterlist()

and 

convert_for_initialization()

Here's the code:

----------------------------------------
class Base {
public:
   Base ( Base &b ) {
   }
   Base ( Base B );
};

class Derived : public Base {
   Derived ( Base &b ) : Base ( b ) {
   }
};
----------------------------------------

Doug
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