diff options
author | Jason Merrill <jason@redhat.com> | 2012-07-03 14:10:39 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-07-03 14:10:39 -0400 |
commit | f5d306802cc5327d9ee94eeae84765dab89a0104 (patch) | |
tree | 27b3a8941c79f54da327180cc04573aed51e0144 /gcc/tree.c | |
parent | f758c26c041a1af69b459c2f4e5d84b3383d4cd7 (diff) | |
download | gcc-f5d306802cc5327d9ee94eeae84765dab89a0104.zip gcc-f5d306802cc5327d9ee94eeae84765dab89a0104.tar.gz gcc-f5d306802cc5327d9ee94eeae84765dab89a0104.tar.bz2 |
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
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |