Internal Compiler error initializing a struct
>Submitter-Id: net
>Originator: Ganesan Rajagopal
>Confidential: no
>Synopsis: Internal Compiler error initializing a struct
>Severity: serious
>Priority: medium
>Category: c
>Class: ice-on-legal-code
>Release: 3.3.5 (Debian 1:3.3.5-5) (Debian testing/unstable)
>Environment:
System: Linux grajagop-lnx 2.6.10-1-686 #1 Tue Jan 18 04:34:19 EST 2005 i686 GNU/Linux
Architecture: i686
host: i486-pc-linux-gnu
build: i486-pc-linux-gnu
target: i486-pc-linux-gnu
configured with: ../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 --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
>Description:
ice.cpp:8: internal compiler error: in tree_low_cst, at tree.c:3315
The problem happens with gcc-3.3 also.
>How-To-Repeat:
Compiling the following code reproduces the problem:
========
struct ice {
int a;
char *argv[];
} ice_array[] = {
{ 1, { "this causes internal compiler error", 0 } }
}
========
>Fix:
Reply to: