From: William Cohen Date: Mon, 18 Sep 2000 16:36:32 +0000 (+0000) Subject: Describe changes to warn about initializers on zero length arrays. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bf2bde1c156681b3c776e2b502a296b7cf4facc;p=gcc.git Describe changes to warn about initializers on zero length arrays. From-SVN: r36494 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a0d658e38f..45f82e026c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2000-09-18 Will Cohen + + * extend.texi (Zero Length): State that static initializers for + zero-length arrays are not allowed. + + * c-typeck.c (process_init_element): Flag initializers for zero + length arrays. + + * tree.c (integer_all_onesp): Ignore TREE_INT_CST_HIGH if prec is + exactly HOST_BITS_PERWIDE_INT. + 2000-09-18 Joseph S. Myers * c-common.c (check_format_info): Properly save the argument