diff options
Diffstat (limited to 'gcc/c')
-rw-r--r-- | gcc/c/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c/c-array-notation.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 1266d4e..76d5c46 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2014-05-21 Richard Sandiford <rsandifo@linux.vnet.ibm.com> + + * c-array-notation.c (expand_array_notations): Use void_node + instead of void_zero_node. + 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> * c-decl.c (finish_struct): Adjust. diff --git a/gcc/c/c-array-notation.c b/gcc/c/c-array-notation.c index 0ac6ba8..a012697 100644 --- a/gcc/c/c-array-notation.c +++ b/gcc/c/c-array-notation.c @@ -1279,7 +1279,7 @@ expand_array_notations (tree *tp, int *walk_subtrees, void *) A[x:y:z]; A[x:y]; Replace those with just void zero node. */ - *tp = void_zero_node; + *tp = void_node; default: break; } |