diff options
author | Diego Novillo <dnovillo@gcc.gnu.org> | 2011-04-30 11:20:58 -0400 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2011-04-30 11:20:58 -0400 |
commit | 2e1df0f00b8625beab3858201673d470cae65687 (patch) | |
tree | 7aa7eeac01aeca9f7cfb044e6a3a9c7bfb45882c /gcc/fortran/decl.c | |
parent | 9a4ac625f18628b863f6e58c0effd749039ff7a5 (diff) | |
download | gcc-2e1df0f00b8625beab3858201673d470cae65687.zip gcc-2e1df0f00b8625beab3858201673d470cae65687.tar.gz gcc-2e1df0f00b8625beab3858201673d470cae65687.tar.bz2 |
cp-tree.h (LOOKUP_EXPLICIT_TMPL_ARGS): Define.
cp/ChangeLog
2011-04-29 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.
2011-04-29 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
2011-04-29 Le-Chun Wu <lcwu@google.com>
* g++.dg/warn/Wnull-conversion-1.C: New.
* g++.dg/warn/Wnull-conversion-2.C: New.
2011-04-29 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.
From-SVN: r173217
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions