[Bug c++/18327] New: ICE while compiling valid c code with g++

gcc-bugzilla at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Nov 6 23:49:00 GMT 2004


[0:38 wolf@bajzel:~/qqq/openttd-0.3.4]% g++ ai.c -c
In file included from ai.c:48:
table/ai_rail.h:36: internal compiler error: in tree_low_cst, at tree.c:3318
Please submit a full bug report,
with preprocessed source if appropriate.

Environment:
System: Linux bajzel 2.6.9 #3 Tue Oct 19 12:59:34 CEST 2004 i686 AMD_Athlon(tm)_ unknown PLD Linux
Architecture: i686

	
host: i686-pld-linux-gnu
build: i686-pld-linux-gnu
target: i686-pld-linux-gnu
configured with: ../configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,f77 --enable-c99 --enable-long-long --enable-multilib --enable-nls --with-gnu-as --with-gnu-ld --with-system-zlib --with-slibdir=/lib --without-x athlon-pld-linux

How-To-Repeat:
1. Download http://dl.sf.net/openttd/openttd-0.3.4.tar.bz2
2. Remove -DWITH_REV from Makefile:240
3. Add (char*) before malloc in strgen/strgen.c:419
4. make CC=g++

-- 
           Summary: ICE while compiling valid c code with g++
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wolf at pld-linux dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pld-linux-gnu
  GCC host triplet: i686-pld-linux-gnu
GCC target triplet: i686-pld-linux-gnu


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



More information about the Gcc-bugs mailing list