From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26611 invoked by alias); 19 Jan 2006 07:48:14 -0000 Received: (qmail 26590 invoked by uid 48); 19 Jan 2006 07:48:12 -0000 Date: Thu, 19 Jan 2006 07:48:00 -0000 Message-ID: <20060119074812.26589.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/25805] [3.4/4.0 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/msg01899.txt.bz2 List-Id: ------- Comment #4 from rsandifo at gcc dot gnu dot org 2006-01-19 07:48 ------- I've checked in the fix for 4.1 and 4.2. It doesn't apply directly to earlier branches because they used TREE_LISTs for CONSTRUCTORs. A straight-forward conversion would introduce a linear walk over the list, which is probably not acceptable. I'm leaving this is a 3.4 and 4.0 regression for now. (The original commit wasn't added to bugzilla because I used -m rather than -F to specify the log message. Ooops. Now fixed with svn propset.) -- rsandifo at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu dot | |org AssignedTo|rsandifo at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED |NEW Known to fail|4.1.0 4.0.0 3.3.3 3.4.0 |4.0.0 3.3.3 3.4.0 |4.2.0 | Known to work|3.2.3 |3.2.3 4.1.0 4.2.0 Summary|[3.4/4.0/4.1/4.2 Regression]|[3.4/4.0 Regression] |Incorrect handling of zero- |Incorrect handling of zero- |initialized flexible arrays |initialized flexible arrays http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25805