cp:
commitb93d9a53b11f4a1c718068f01a47390338e371f0
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jul 2001 09:38:26 +0000 (25 09:38 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jul 2001 09:38:26 +0000 (25 09:38 +0000)
treed493c5f26270f94be4e2797ecc940088fefb192c
parent5d2c3e63b62fe814537fbab9227392ed4384e191
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44345 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/cond7.C [new file with mode: 0644]