Describe changes to warn about initializers on zero length arrays.
authorWilliam Cohen <wcohen@gcc.gnu.org>
Mon, 18 Sep 2000 16:36:32 +0000 (16:36 +0000)
committerWilliam Cohen <wcohen@gcc.gnu.org>
Mon, 18 Sep 2000 16:36:32 +0000 (16:36 +0000)
From-SVN: r36494

gcc/ChangeLog

index 4a0d658e38fd7f0bb614a95c35d4da8454dfcb64..45f82e026c69ed753111b50d11ab0a206980645e 100644 (file)
@@ -1,3 +1,14 @@
+2000-09-18  Will Cohen  <wcohen@redhat.com>
+
+       * 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  <jsm28@cam.ac.uk>
 
        * c-common.c (check_format_info): Properly save the argument