From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18105 invoked by alias); 19 Jun 2006 14:39:06 -0000 Received: (qmail 18006 invoked by uid 48); 19 Jun 2006 14:38:47 -0000 Date: Mon, 19 Jun 2006 14:49:00 -0000 Subject: [Bug c++/28085] New: initialization of zero-sized array causes internal compiler error X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bertrand dot marlier at gmail dot com" 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-06/txt/msg01749.txt.bz2 List-Id: Following is the sequence to reproduce this issue and full g++ -v output. $ cat source.cpp int tab[0]={}; main() { } $ g++ source.cpp source.cpp:2: internal compiler error: in tree_low_cst, at tree.c:3255 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. For Debian GNU/Linux specific bug reporting instructions, see . $ g++ -v Lecture des spécification à partir de /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configuré avec: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Modèle de thread: posix version gcc 3.3.5 (Debian 1:3.3.5-13) $ system is Debian Sarge 3.1 for x86 -- Summary: initialization of zero-sized array causes internal compiler error Product: gcc Version: 3.3.5 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bertrand dot marlier at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28085