* pt.c (build_non_dependent_expr): Don't check null_ptr_cst_p,
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 May 2011 21:29:49 +0000 (21:29 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 May 2011 21:29:49 +0000 (21:29 +0000)
commit07b5354433c764c04d41ecdd342883cadf08fb39
tree1e2d01a6e37dc49c0266ecd7f0b0e873cd01cf20
parentfbcf71656eb73502626f40ae36f557cc00a0ec81
* pt.c (build_non_dependent_expr): Don't check null_ptr_cst_p,
do call maybe_constant_value in C++0x mode.
* semantics.c (cxx_eval_constant_expression): Handle TEMPLATE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173679 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c