diff options
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 00adb72..c44e7c0 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -355,8 +355,7 @@ cxx_init (void) cxx_init_decl_processing (); /* Create the built-in __null node. */ - null_node = build_int_2 (0, 0); - TREE_TYPE (null_node) = c_common_type_for_size (POINTER_SIZE, 0); + null_node = build_int_cst (c_common_type_for_size (POINTER_SIZE, 0), 0, 0); ridpointers[RID_NULL] = null_node; interface_unknown = 1; |