r173025 - in /branches/gcc-4_5-branch/gcc: cp/C...

dodji@gcc.gnu.org dodji@gcc.gnu.org
Wed Apr 27 12:07:00 GMT 2011


Author: dodji
Date: Wed Apr 27 12:07:34 2011
New Revision: 173025

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173025
Log:
Backport fix for PRs c++/46824, c++/42260, c++/45383

gcc/cp

	* call.c (add_builtin_candidate)<case INDIRECT_REF>: The type of
	the argument of the indirection operator should not be dependent.
	Fix the comment.

gcc/testsuite

	* g++.dg/conversion/cast2.C: New test.
	* g++.dg/conversion/cast3.C: Likewise.
	* g++.dg/conversion/cond4.C: Likewise.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/conversion/cast2.C
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/conversion/cast3.C
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/conversion/cond4.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/call.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list