c++/8417: g++ 3.2 generating different (and incorrect?) code from g++ 2.95.4
Giovanni Bajo
bagio@zh.t2-design.com
Fri Nov 1 00:46:00 GMT 2002
The following reply was made to PR c++/8417; it has been noted by GNATS.
From: "Giovanni Bajo" <bagio@zh.t2-design.com>
To: <gcc-gnats@gcc.gnu.org>, <gcc-prs@gcc.gnu.org>, <germain@cs.utah.edu>,
<gcc-bugs@gcc.gnu.org>, <nobody@gcc.gnu.org>
Cc:
Subject: Re: c++/8417: g++ 3.2 generating different (and incorrect?) code from g++ 2.95.4
Date: Fri, 1 Nov 2002 16:38:07 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_1771_01C281C5.0E6A1990
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&database=3D=
gcc&pr=3D8417
The value of this can be changed by the compiler at any time, there is =
no guarantee (in the C++ standard) that it remains the same across the =
derived class tree. For example, it is very usual that the value changes =
when you are using multiple inheritance. This is not a bug in the =
compiler.
------=_NextPart_000_1771_01C281C5.0E6A1990
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4916.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><A=20
href=3D"http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&a=
mp;database=3Dgcc&pr=3D8417">http://gcc.gnu.org/cgi-bin/gnatsweb.pl?c=
md=3Dview%20audit-trail&database=3Dgcc&pr=3D8417</A></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The value of this can be changed by the =
compiler at=20
any time, there is no guarantee (in the C++ standard) that it remains =
the same=20
across the derived class tree. For example, it is very usual that the =
value=20
changes when you are using multiple inheritance. This is not a bug in =
the=20
compiler.</FONT></DIV></BODY></HTML>
------=_NextPart_000_1771_01C281C5.0E6A1990--
More information about the Gcc-prs
mailing list