From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18306 invoked by alias); 27 Aug 2006 22:15:09 -0000 Received: (qmail 18128 invoked by uid 48); 27 Aug 2006 22:15:01 -0000 Date: Sun, 27 Aug 2006 22:15:00 -0000 Message-ID: <20060827221501.18127.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/28865] Structures with a flexible arrray member have wrong .size In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "qrczak at knm dot org dot pl" 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-08/txt/msg02390.txt.bz2 List-Id: ------- Comment #1 from qrczak at knm dot org dot pl 2006-08-27 22:15 ------- A question: when this is fixed, what should be C-level sizeof obj? I hope it would include the flexible array component. This would allow to detect in autoconf whether this bug is fixed, and would be consistent with toplevel arrays whose sizes are derived from their initializer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28865