chatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU (10/06/89)
The following code makes g++ 1.36.0- dump core.
I use the latest version (10/02), compiled with gcc 1.36.
I work on a Sun3 running OS 3.5
class A {
public:
void operator delete (void*);
};
void
A :: operator delete ()
{
}
Stephane Chatty chatty@lri.lri.fr
chatty@frlri61.bitnetchatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU (10/12/89)
g++ 1.36.0- dumps core on the following code. It is the latest
version from labrea (10/11/89). I work on a sun3 running OS 3.5.
class A {
public:
void foo ();
};
A&
bar ()
{
A* a = new A;
return *a;
}
A& aa = bar ();
main ()
{
aa.foo ();
}
Stephane Chatty chatty@lri.lri.fr
chatty@frlri61.bitnetchatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU (10/20/89)
This one looks like another one I reported a couple of
weeks ago. This time, it is on a sun4 os4 (I was not able
to complete the installation on a sun3). It is the version
of 10/17/89.
class A {
public:
};
void*
A :: operator new (unsigned sz)
{
return 0;
}
Stephane Chatty chatty@lri.lri.fr
chatty@frlri61.bitnet