Commit f5d30680 by Jason Merrill Committed by Jason Merrill

re PR c++/53826 ([alpha]: ICE in fold_convert_loc, at fold-const.c:2008)

	PR c++/53826
	* tree.c (build_zero_cst): Handle NULLPTR_TYPE.

From-SVN: r189238
parent f758c26c
2012-07-03 Jason Merrill <jason@redhat.com>
PR c++/53826
* tree.c (build_zero_cst): Handle NULLPTR_TYPE.
2012-07-03 Nick Clifton <nickc@redhat.com>
* config/mep/mep.c (mep_reorg_regmove): Use
......
......@@ -1640,7 +1640,7 @@ build_zero_cst (tree type)
{
case INTEGER_TYPE: case ENUMERAL_TYPE: case BOOLEAN_TYPE:
case POINTER_TYPE: case REFERENCE_TYPE:
case OFFSET_TYPE:
case OFFSET_TYPE: case NULLPTR_TYPE:
return build_int_cst (type, 0);
case REAL_TYPE:
......
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