This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r173159 - in /branches/google/main/gcc: cp/Chan...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 29 Apr 2011 14:34:16 -0000
- Subject: r173159 - in /branches/google/main/gcc: cp/Chan...
Author: dnovillo
Date: Fri Apr 29 14:34:15 2011
New Revision: 173159
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173159
Log:
cp/ChangeLog.google-main
2011-04-27 Le-Chun Wu <lcwu@google.com>
* cp-tree.h (LOOKUP_EXPLICIT_TMPL_ARGS): Define.
* call.c (build_new_function_call): Set it for TEMPLATE_ID_EXPRs.
(build_over_call): Use it to determine whether to emit a NULL
warning for template function instantiations.
(build_new_method_call): Set LOOKUP_EXPLICIT_TMPL_ARGS if
EXPLICIT_TARGS is set.
testsuite/ChangeLog.google-main
2011-04-27 Le-Chun Wu <lcwu@google.com>
* g++.dg/warn/Wnull-conversion-1.C: New.
* g++.dg/warn/Wnull-conversion-2.C: New.
cp/ChangeLog.google-main
2011-04-28 Diego Novillo <dnovillo@google.com>
Le-Chun Wu <lcwu@google.com>
* call.c (conversion_null_warnings): Also handle assignments
when warning about NULL conversions.
testsuite/ChangeLog.google-main
2011-04-28 Le-Chun Wu <lcwu@google.com>
* g++.dg/warn/Wconversion-null-2.C: Do not expect a NULL
warning in implicitly instantiated templates.
2011-04-29 Diego Novillo <dnovillo@google.com>
* g++.old-deja/g++.other/null3.C: Expect warning about converting
boolean to a pointer.
Added:
branches/google/main/gcc/cp/ChangeLog.google-main
branches/google/main/gcc/testsuite/g++.dg/warn/Wnull-conversion-1.C
branches/google/main/gcc/testsuite/g++.dg/warn/Wnull-conversion-2.C
Modified:
branches/google/main/gcc/cp/call.c
branches/google/main/gcc/cp/cp-tree.h
branches/google/main/gcc/testsuite/ChangeLog.google-main
branches/google/main/gcc/testsuite/g++.dg/warn/Wconversion-null-2.C
branches/google/main/gcc/testsuite/g++.old-deja/g++.other/null3.C