This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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=gcc&view=rev&rev=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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]