diff options
author | YamaArashi <shadow962@live.com> | 2016-02-17 06:18:37 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-17 06:18:37 -0800 |
commit | 9cc5f8edb21ac07bff87def5155ee71dff449e37 (patch) | |
tree | b75b0eb06bf733811e4f54bd28dd6fa93fa8f485 /gcc/c-typeck.c | |
parent | 75ff61fd74b379f7278b1042e269ea3a6ee66518 (diff) |
get rid of PTR macros
Diffstat (limited to 'gcc/c-typeck.c')
-rwxr-xr-x | gcc/c-typeck.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 0c75dfb..616d7ab 100755 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -6528,7 +6528,7 @@ process_init_element (value) if (constructor_stack->replacement_value != 0) { error_init ("excess elements in struct initializer%s", - " after `%s'", NULL_PTR); + " after `%s'", NULL); return; } @@ -6564,7 +6564,7 @@ process_init_element (value) if (constructor_fields == 0) { pedwarn_init ("excess elements in struct initializer%s", - " after `%s'", NULL_PTR); + " after `%s'", NULL); break; } @@ -6629,7 +6629,7 @@ process_init_element (value) if (constructor_fields == 0) { pedwarn_init ("excess elements in union initializer%s", - " after `%s'", NULL_PTR); + " after `%s'", NULL); break; } @@ -6704,7 +6704,7 @@ process_init_element (value) && tree_int_cst_lt (constructor_max_index, constructor_index)) { pedwarn_init ("excess elements in array initializer%s", - " after `%s'", NULL_PTR); + " after `%s'", NULL); break; } @@ -6716,7 +6716,7 @@ process_init_element (value) constructor_range_end)) { pedwarn_init ("excess elements in array initializer%s", - " after `%s'", NULL_PTR); + " after `%s'", NULL); TREE_INT_CST_HIGH (constructor_range_end) = TREE_INT_CST_HIGH (constructor_max_index); TREE_INT_CST_LOW (constructor_range_end) @@ -6768,7 +6768,7 @@ process_init_element (value) if (constructor_fields == 0) { pedwarn_init ("excess elements in scalar initializer%s", - " after `%s'", NULL_PTR); + " after `%s'", NULL); break; } |