Strange ICE with actual GCC40 snapshot

Michael Cieslinski micis@gmx.de
Mon Jan 10 14:12:00 GMT 2005


Hello,
I get a strange ICE which doesn't occur if I either don't use optimation
flags or use -save-temps.

This ICE doesn't occur with snapshot 20041219

I build gcc from actual snapshot with "make bootstrap" and following CFLAGS:
 -pipe -g -O3 -march=opteron -fmessage-length=0 -falign-loops=16 
 -falign-jumps=16 -falign-functions=32 -fstrict-aliasing
 -fsched-interblock -ffast-math -funroll-all-loops -funit-at-a-time
 -fpeel-loops -ftracer -funswitch-loops -floop-optimize2
 -fmove-loop-invariants -fgcse-after-reload -frename-registers
 -fmodulo-sched --param max-gcse-passes=5 --param max-unrolled-insns=600
 --param inline-unit-growth=300 --param large-function-growth=400

g++ -v
Using built-in specs.
Configured with: ../gcc40/configure --prefix=/usr/local/gcc40f --program-
suffix=40f --with-arch=opteron --enable-languages=c,c++ --enable-checking
Thread model: posix
gcc version 4.0.0 20050109 (experimental)

I compiled qt-x11-free-3.3.3

When I call gcc directory qt-x11-free-3.3.3/src:

/qt/qt-x11-free-3.3.3/src$ g++ -S -O3 -ffast-math -funroll-all-loops \
 -ftracer -floop-optimize2 -fmove-loop-invariants  -frename-registers \
 -fmodulo-sched --param max-gcse-passes=3 -fmudflapth \
 -I/usr/include/mysql -Wall -W -g -D_REENTRANT -fPIC -DQT_SHARED \
 -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE \
 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_NO_XCURSOR \
 -DQT_NO_XRANDR -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE -DQT_NO_IMAGEIO_MNG \
 -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA \
 -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT \
 -DQT_NO_STYLE_POCKETPC \
 -I/home/cie019/qt/qt-x11-free-3.3.3/mkspecs/linux-CC-64 -I. \
 -I3rdparty/libpng -I3rdparty/zlib -I../include -I/usr/X11R6/include \
 -I/usr/X11R6/include -I.moc/debug-shared-mt/ -o bug.s \
 kernel/qprocess_unix.cpp

I get an ICE:
kernel/qprocess_unix.cpp: In member function 'virtual bool
QProcess::start(QStringList*)':
kernel/qprocess_unix.cpp:697: internal compiler error: in cp_tree_equal, at
cp/tree.c:1578
Please submit a full bug report, with preprocessed source if appropriate.

Since this ICE does not occur if I use -save-temps I don't know to proceed.

Michael Cieslinski



More information about the Gcc mailing list