[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
gcc-bugzilla@gcc.gnu.org
Sat Apr 14 01:27:00 GMT 2007
------- 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=gcc&view=rev&rev=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
More information about the Gcc-bugs
mailing list