c++/8860: illegal constructor causes internal compiler error
Alex Kunin
AlexK@aldec.katowice.pl
Sun Dec 8 06:46:00 GMT 2002
The following reply was made to PR c++/8860; it has been noted by GNATS.
From: Alex Kunin <AlexK@aldec.katowice.pl>
To: "'reichelt@igpm.rwth-aachen.de'" <reichelt@igpm.rwth-aachen.de>,
"'a-hw@mail.ru'" <a-hw@mail.ru>, "'gcc-bugs@gcc.gnu.org'"
<gcc-bugs@gcc.gnu.org>, "'gcc-prs@gcc.gnu.org'" <gcc-prs@gcc.gnu.org>,
"'nobody@gcc.gnu.org'" <nobody@gcc.gnu.org>, "'gcc-gnats@gcc.gnu.org'"
<gcc-gnats@gcc.gnu.org>
Cc:
Subject: RE: c++/8860: illegal constructor causes internal compiler error
Date: Sun, 8 Dec 2002 15:40:18 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C29EC7.BA9FA3A0
Content-Type: text/plain;
charset="koi8-r"
Thank you. :-)
> -----Original Message-----
> From: reichelt@igpm.rwth-aachen.de
> [mailto:reichelt@igpm.rwth-aachen.de]
> Sent: Saturday, December 07, 2002 10:21 PM
> To: a-hw@mail.ru; gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org;
> nobody@gcc.gnu.org
> Subject: Re: c++/8860: illegal constructor causes internal compiler
> error
>
>
> Synopsis: illegal constructor causes internal compiler error
>
> State-Changed-From-To: open->closed
> State-Changed-By: reichelt
> State-Changed-When: Sat Dec 7 13:21:20 2002
> State-Changed-Why:
> Fixed in gcc 3.2.1.
> gcc 3.2.1 and mainline report:
>
> test.cpp: In constructor
> `Smoother_Lookup<Function>::Smoother_Lookup(int) [with
> Function = Test]':
> test.cpp:29: instantiated from here
> test.cpp:15: type `class Smoother_Lookup<Test>' is not a
> direct base of `
> Smoother_Lookup<Test>'
> test.cpp:15: no matching function for call to
> `Smoother::Smoother()'
> test.cpp:3: candidates are: Smoother::Smoother(const Smoother&)
> test.cpp:5: Smoother::Smoother(int)
> test.cpp:29: instantiated from here
> test.cpp:16: no matching function for call to `Test::Test(int&)'
> test.cpp:23: candidates are: Test::Test()
> test.cpp:23: Test::Test(const Test&)
> test.cpp:16: `generate_n' undeclared in namespace `std'
>
> I checked this on i686-pc-linux-gnu, but since I could
> reproduce the problem
> with gcc 3.2 on this platform, I assume it is fixed also
> for the submitters
> platform.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&
database=gcc&pr=8860
------_=_NextPart_001_01C29EC7.BA9FA3A0
Content-Type: text/html;
charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dkoi8-r">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: c++/8860: illegal constructor causes internal compiler =
error</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Thank you. :-)</FONT>
</P>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: reichelt@igpm.rwth-aachen.de </FONT>
<BR><FONT SIZE=3D2>> [<A =
HREF=3D"mailto:reichelt@igpm.rwth-aachen.de">mailto:reichelt@igpm.rwth-a=
achen.de</A>]</FONT>
<BR><FONT SIZE=3D2>> Sent: Saturday, December 07, 2002 10:21 =
PM</FONT>
<BR><FONT SIZE=3D2>> To: a-hw@mail.ru; gcc-bugs@gcc.gnu.org; =
gcc-prs@gcc.gnu.org;</FONT>
<BR><FONT SIZE=3D2>> nobody@gcc.gnu.org</FONT>
<BR><FONT SIZE=3D2>> Subject: Re: c++/8860: illegal constructor =
causes internal compiler</FONT>
<BR><FONT SIZE=3D2>> error</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Synopsis: illegal constructor causes internal =
compiler error</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> State-Changed-From-To: open->closed</FONT>
<BR><FONT SIZE=3D2>> State-Changed-By: reichelt</FONT>
<BR><FONT SIZE=3D2>> State-Changed-When: Sat Dec 7 13:21:20 =
2002</FONT>
<BR><FONT SIZE=3D2>> State-Changed-Why:</FONT>
<BR><FONT SIZE=3D2>> Fixed in gcc =
3.2.1.</FONT>
<BR><FONT SIZE=3D2>> gcc 3.2.1 and mainline =
report:</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> test.cpp: In =
constructor </FONT>
<BR><FONT SIZE=3D2>> =
`Smoother_Lookup<Function>::Smoother_Lookup(int) [with </FONT>
<BR><FONT SIZE=3D2>> =
Function =3D Test]':</FONT>
<BR><FONT SIZE=3D2>> =
test.cpp:29: instantiated from here</FONT>
<BR><FONT SIZE=3D2>> test.cpp:15: type =
`class Smoother_Lookup<Test>' is not a </FONT>
<BR><FONT SIZE=3D2>> direct base of `</FONT>
<BR><FONT SIZE=3D2>> =
Smoother_Lookup<Test>'</FONT>
<BR><FONT SIZE=3D2>> test.cpp:15: no =
matching function for call to </FONT>
<BR><FONT SIZE=3D2>> `Smoother::Smoother()'</FONT>
<BR><FONT SIZE=3D2>> test.cpp:3: candidates =
are: Smoother::Smoother(const Smoother&)</FONT>
<BR><FONT SIZE=3D2>> =
test.cpp:5: &=
nbsp; Smoother::Smoother(int)</FONT>
<BR><FONT SIZE=3D2>> =
test.cpp:29: instantiated from here</FONT>
<BR><FONT SIZE=3D2>> test.cpp:16: no =
matching function for call to `Test::Test(int&)'</FONT>
<BR><FONT SIZE=3D2>> test.cpp:23: candidates =
are: Test::Test()</FONT>
<BR><FONT SIZE=3D2>> =
test.cpp:23: =
Test::Test(const Test&)</FONT>
<BR><FONT SIZE=3D2>> test.cpp:16: =
`generate_n' undeclared in namespace `std'</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I checked this on =
i686-pc-linux-gnu, but since I could </FONT>
<BR><FONT SIZE=3D2>> reproduce the problem</FONT>
<BR><FONT SIZE=3D2>> with gcc 3.2 on this =
platform, I assume it is fixed also </FONT>
<BR><FONT SIZE=3D2>> for the submitters</FONT>
<BR><FONT SIZE=3D2>> platform.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&=
" =
TARGET=3D"_blank">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20au=
dit-trail&</A></FONT>
<BR><FONT SIZE=3D2>database=3Dgcc&pr=3D8860</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C29EC7.BA9FA3A0--
More information about the Gcc-prs
mailing list