[Bug c++/13478] [3.3 Regression] gcc uses wrong constructor to initialize a const reference
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 07:30:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-21 07:30 -------
Subject: Bug 13478
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: gdr@gcc.gnu.org 2004-01-21 07:30:07
Modified files:
gcc/cp : ChangeLog call.c
Added files:
gcc/testsuite/g++.dg/init: ref10.C
Log message:
Backport from mainline
2004-01-16 Mark Mitchell <mark@codesourcery.com>
PR c++/13478
* call.c (initialize_reference): Pass -1 for inner parameter to
convert_like_real.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.240&r2=1.3076.2.241
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.341.2.35&r2=1.341.2.36
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/ref10.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.6.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13478
More information about the Gcc-bugs
mailing list