This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r119517 - in /branches/gcc-4_1-branch/gcc: cp/C...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 04 Dec 2006 23:21:03 -0000
- Subject: r119517 - in /branches/gcc-4_1-branch/gcc: cp/C...
Author: mmitchel
Date: Mon Dec 4 23:21:03 2006
New Revision: 119517
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119517
Log:
PR c++/29632
* call.c (add_builtin_candidate): Do not permit NULL pointer
constants to be compared with template parameters.
PR c++/29632
* g++.dg/template/error23.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/error23.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/call.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog