Description of problem: Internal compiler error: : in comptypes, at cp/typeck.c:948 Version-Release number of selected component (if applicable): g++ --version g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) How reproducible: Repeat make step below. Steps to Reproduce: 1. Obtain OpenOffice code from CVS. 2. /autogen.sh --disable-kde --with-distro=SUSE-9.3 3. ./download 4. make Actual results: Making: ../../../unxlngi6.pro/slo/unodraw.obj g++ -Wreturn-type -fmessage-length=0 -c -I. -I. -I../inc -I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/home/frank/gnome/ooo-build/build/oob680-m3/solver/680/unxlngi6.pro/inc/stl -I/home/frank/gnome/ooo-build/build/oob680-m3/solver/680/unxlngi6.pro/inc/external -I/home/frank/gnome/ooo-build/build/oob680-m3/solver/680/unxlngi6.pro/inc -I/home/frank/gnome/ooo-build/build/oob680-m3/solenv/unxlngi6/inc -I/home/frank/gnome/ooo-build/build/oob680-m3/solenv/inc -I/home/frank/gnome/ooo-build/build/oob680-m3/res -I/home/frank/gnome/ooo-build/build/oob680-m3/solver/680/unxlngi6.pro/inc/stl -I/home/frank/gnome/ooo-build/build/oob680-m3/solenv/inc/Xp31 -I/opt/jdk1.5.0_06/include -I/opt/jdk1.5.0_06/include/linux -I/opt/jdk1.5.0_06/include/native_threads/include -I/usr/X11R6/include -I. -I../../../res -I. -Os -fno-strict-aliasing -Wuninitialized -fvisibility=hidden -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -fexceptions -fno-enforce-eh-specs -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOB680=OOB680 -DNUM_RELSPACE -DVERTICAL_LAYOUT -DACCESSIBLE_LAYOUT -DBIDI -DSW_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../../unxlngi6.pro/slo/unodraw.o /home/frank/gnome/ooo-build/build/oob680-m3/sw/source/core/unocore/unodraw.cxx /home/frank/gnome/ooo-build/build/oob680-m3/solver/680/unxlngi6.pro/inc/com/sun/star/datatransfer/dnd/DragGestureEvent.hdl:57: internal compiler error: in comptypes, at cp/typeck.c:948 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccCUPLTr.out file, please attach this to your bugreport. dmake: Error code 1, while making '../../../unxlngi6.pro/slo/unodraw.obj' '---* tg_merge.mk *---' dmake: Error code 255, while making 'do_it_exceptions' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /home/frank/gnome/ooo-build/build/oob680-m3/sw/source/core/unocore make: *** [stamp/build] Error 1 Expected results: Module compiles successfully. Additional info: I have repeated this problem 3 times. I have rebooted at least once.
Created attachment 125683 [details] Preprocesed source
Compiles fine with G++ 4.1.0-15.