[EMAIL PROTECTED]:/tmp/s$ g++ -c foo.c
foo.c:16: internal compiler error: in tree_low_cst, at tree.c:3255
when compiling following code:

---- 8< [cut here] -----------------------------------
typedef struct {
        char *str;
        int n;
        char *(f[]);
        char *(l[]);
        int *a;
} t_moja;


        t_moja x={
                "foobar",
                4,
                {"imie","nazwisko","telefon","email"},
                {"Imiê","Nazwisko","Telefon","E-mail"},
                {0,1,2,3},
        };


        t_moja y={
                "baz",
                2,
                {"dupa","blada"},
                {"Pan","Kowalski"},
                {8,9}
        };

---- 8< [cut here] -----------------------------------

Environment:
System: Linux blabluga.hell.pl 2.6.7bl #1 Sun Jul 4 17:47:48 CEST 2004 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

How-To-Repeat:
        Save above snippet into file and run:
        g++ -c filename

-- 
           Summary: internal compiler error: in tree_low_cst, at tree.c:3255
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: arturcz at blabluga dot hell dot pl
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i486-pc-linux-gnu
  GCC host triplet: i486-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18926

Reply via email to