From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7674 invoked by alias); 8 Nov 2004 21:34:43 -0000 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 Received: (qmail 7491 invoked by uid 48); 8 Nov 2004 21:34:33 -0000 Date: Mon, 08 Nov 2004 21:34:00 -0000 From: "apl at alum dot mit dot edu" To: gcc-bugs@gcc.gnu.org Message-ID: <20041108213431.18384.apl@alum.mit.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/18384] New: ICE on zero-length array with empty initializer... X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg00976.txt.bz2 List-Id: Compilers before 3.4.3 (including 2.95.3, gcc-3.3.x) accept const int table[0] = {}; With 3.4.3, we see [apl]aluminum$ /tools/linux/gcc-3.4.3/bin/g++ -c bug.cxx bug.cxx:1: internal compiler error: in tree_low_cst, at tree.c:3313 Please submit a full bug report, with preprocessed source if appropriate. This also fails on Solaris..... -- Summary: ICE on zero-length array with empty initializer... Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: apl at alum dot mit dot edu CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18384