From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25843 invoked by alias); 19 Jan 2006 07:46:21 -0000 Received: (qmail 25793 invoked by alias); 19 Jan 2006 07:46:17 -0000 Date: Thu, 19 Jan 2006 07:46:00 -0000 Message-ID: <20060119074617.25792.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/25805] [3.4/4.0/4.1/4.2 Regression] Incorrect handling of zero-initialized flexible arrays In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rsandifo at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-01/txt/msg01898.txt.bz2 List-Id: ------- 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