This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13907] [3.3 regression] valid conversion rejected unless -pedantic is set
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2004 16:05:59 -0000
- Subject: [Bug c++/13907] [3.3 regression] valid conversion rejected unless -pedantic is set
- References: <20040129001307.13907.japple@freeshell.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-22 16:05 -------
Subject: Bug 13907
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: gdr@gcc.gnu.org 2004-02-22 16:05:49
Modified files:
gcc/cp : ChangeLog call.c
Added files:
gcc/testsuite/g++.dg/conversion: op2.C
Log message:
Backport from mainline
2004-02-02 Mark Mitchell <mark@codesourcery.com>
PR c++/13907
* call.c (convert_class_to_reference): Keep better track of
pedantically invalid user-defined conversions.
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.248&r2=1.3076.2.249
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.37&r2=1.341.2.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/conversion/op2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.2.6.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13907