This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25805] [3.4/4.0/4.1/4.2 Regression] Incorrect handling of zero-initialized flexible arrays
- From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2006 07:46:17 -0000
- Subject: [Bug c/25805] [3.4/4.0/4.1/4.2 Regression] Incorrect handling of zero-initialized flexible arrays
- References: <bug-25805-4496@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rsandifo at gcc dot gnu dot org 2006-01-19 07:46 -------
Subject: Bug 25805
Author: rsandifo
Revision: 109946
Modified property: svn:log
Modified: svn:log at Thu Jan 19 07:46:15 2006
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Thu Jan 19 07:46:15 2006
@@ -1,1 +1,7 @@
-/home/richard/patches/wip/flex-array-init-size.clog
+ PR c/25805
+ * c-decl.c (add_flexible_array_elts_to_size): New function.
+ (finish_decl): Use it.
+
+testsuite/
+ PR c/25805
+ * gcc.dg/pr25805.c: New file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25805