[Bug c++/31074] [4.1/4.2/4.3 Regression] Reference casting involving multiple inheritance produces bad pointer
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-04-15 00:44 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31074
[Bug c++/31074] [4.1/4.2/4.3 Regression] Reference casting involving multiple inheritance produces bad pointer
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2007-03-08 02:06:10 |2007-04-14 00:26:18 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31074
[Bug c++/31074] [4.1/4.2/4.3 Regression] Reference casting involving multiple inheritance produces bad pointer
--- Comment #3 from jason at gcc dot gnu dot org 2007-04-14 00:43 --- Subject: Bug 31074 Author: jason Date: Sat Apr 14 00:43:18 2007 New Revision: 123805 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123805 Log: PR c++/31074 * call.c (reference_binding): Add c_cast_p parm. If true, add quals to TO as needed to make it reference-compatible. Added: trunk/gcc/testsuite/g++.dg/inherit/conv3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31074
[Bug c++/31074] [4.1/4.2/4.3 Regression] Reference casting involving multiple inheritance produces bad pointer
--- Comment #4 from jason at gcc dot gnu dot org 2007-04-14 02:27 --- Subject: Bug 31074 Author: jason Date: Sat Apr 14 02:27:02 2007 New Revision: 123807 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123807 Log: PR c++/31074 * call.c (reference_binding): Add c_cast_p parm. If true, add quals to TO as needed to make it reference-compatible. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/inherit/conv3.C - copied unchanged from r123805, trunk/gcc/testsuite/g++.dg/inherit/conv3.C Modified: branches/gcc-4_1-branch/gcc/cp/ChangeLog branches/gcc-4_1-branch/gcc/cp/call.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31074
[Bug c++/31074] [4.1/4.2/4.3 Regression] Reference casting involving multiple inheritance produces bad pointer
--- Comment #5 from jason at gcc dot gnu dot org 2007-04-14 02:29 --- Subject: Bug 31074 Author: jason Date: Sat Apr 14 02:29:29 2007 New Revision: 123808 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=123808 Log: PR c++/31074 * call.c (reference_binding): Add c_cast_p parm. If true, add quals to TO as needed to make it reference-compatible. Added: branches/gcc-4_2-branch/gcc/testsuite/g++.dg/inherit/conv3.C - copied unchanged from r123805, trunk/gcc/testsuite/g++.dg/inherit/conv3.C Modified: branches/gcc-4_2-branch/gcc/cp/ChangeLog branches/gcc-4_2-branch/gcc/cp/call.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31074
[Bug c++/31074] [4.1/4.2/4.3 Regression] Reference casting involving multiple inheritance produces bad pointer
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31074
[Bug c++/31074] [4.1/4.2/4.3 Regression] Reference casting involving multiple inheritance produces bad pointer
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-08 02:06 --- Confirmed, related to PR 22132. The difference between this and that PR is this one has references while that one was only pointers. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added BugsThisDependsOn||22132 Severity|normal |blocker Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||wrong-code Known to fail||4.0.2 4.1.0 4.2.0 4.3.0 Known to work||3.3.3 Last reconfirmed|-00-00 00:00:00 |2007-03-08 02:06:10 date|| Summary|Reference casting involving |[4.1/4.2/4.3 Regression] |multiple inheritance|Reference casting involving |produces bad pointer|multiple inheritance ||produces bad pointer Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31074
[Bug c++/31074] [4.1/4.2/4.3 Regression] Reference casting involving multiple inheritance produces bad pointer
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-08 02:09 --- Oh and PR 22132 was already fixed :). And the reason why the patch for PR 22132 did not fix this bug is because comp_ptr_ttypes_const does not take into account REFERENCE_TYPEs. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||mmitchel at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31074