gcc/gcc cp/ChangeLog cp/call.c cp/cp-tree.h cp ...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Wed Jul 25 02:37:00 GMT 2001
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_0-branch
Changes by: nathan@gcc.gnu.org 2001-07-25 02:37:29
Modified files:
gcc/cp : ChangeLog call.c cp-tree.h typeck.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.old-deja/g++.other: cond7.C
Log message:
cp:
PR c++/3416
* call.c (build_conditional_expr): Recheck args after
conversions.
* cp-tree.h (build_conditional_expr): Move to correct file.
* typeck.c (decay_conversion): Diagnose any unknown types
reaching here.
(build_binary_op): Don't do initial decay or default
conversions on overloaded functions.
(build_static_cast): Don't do a decay conversion here.
testsuite:
* g++.old-deja/g++.other/cond7.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.2227.2.154&r2=1.2227.2.155
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/call.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.255.2.13&r2=1.255.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.572.2.31&r2=1.572.2.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.337.2.8&r2=1.337.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.1074.2.147&r2=1.1074.2.148
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/cond7.C.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=NONE&r2=1.1.2.1
More information about the Gcc-cvs
mailing list