[Bug c/25805] [3.4/4.0/4.1/4.2 Regression] Incorrect handling of zero-initialized flexible arrays

rsandifo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 19 07:45:00 GMT 2006



------- Comment #2 from rsandifo at gcc dot gnu dot org  2006-01-19 07:45 -------
Subject: Bug 25805

Author: rsandifo
Revision: 109947
Modified property: svn:log

Modified: svn:log at Thu Jan 19 07:45:28 2006
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Thu Jan 19 07:45:28 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



More information about the Gcc-bugs mailing list