Commit 9542943d by Jason Merrill Committed by Jason Merrill

semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node instead of void_zero_node.

	* semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node
	instead of void_zero_node.

From-SVN: r157926
parent ecd01dee
2010-04-01 Jason Merrill <jason@redhat.com>
* semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node
instead of void_zero_node.
2010-03-31 Dodji Seketeli <dodji@redhat.com>
PR c++/43558
......
......@@ -5955,7 +5955,8 @@ maybe_add_lambda_conv_op (tree type)
body = begin_function_body ();
compound_stmt = begin_compound_stmt (0);
arg = build1 (NOP_EXPR, TREE_TYPE (DECL_ARGUMENTS (callop)), void_zero_node);
arg = build1 (NOP_EXPR, TREE_TYPE (DECL_ARGUMENTS (callop)),
null_pointer_node);
argvec = make_tree_vector ();
VEC_quick_push (tree, argvec, arg);
for (arg = DECL_ARGUMENTS (statfn); arg; arg = TREE_CHAIN (arg))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment