aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@gcc.gnu.org>2000-09-18 16:36:32 +0000
committerWilliam Cohen <wcohen@gcc.gnu.org>2000-09-18 16:36:32 +0000
commit7bf2bde1c156681b3c776e2b502a296b7cf4facc (patch)
treef5fc2c7d1cb82503de3af1070249b4985abd30db /gcc
parentfc6df7e10bc1039f50f917ecfe3740d38aa40674 (diff)
downloadgcc-7bf2bde1c156681b3c776e2b502a296b7cf4facc.zip
gcc-7bf2bde1c156681b3c776e2b502a296b7cf4facc.tar.gz
gcc-7bf2bde1c156681b3c776e2b502a296b7cf4facc.tar.bz2
Describe changes to warn about initializers on zero length arrays.
From-SVN: r36494
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4a0d658..45f82e0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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