Internal compiler error with the following report: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../art -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -fmove-all-movables -fnew-ra -finline-limit=600 -maccumulate-outgoing-args -minline-all-stringops -fprefetch-loop-arrays -mno-align-stringops -frename-registers -mfpmath=387 -march=athlon-xp -fomit-frame-pointer -pipe -W -Wall -MT chmfile.o -MD -MP -MF ".deps/chmfile.Tpo" bitfiddle.inl: In function `u_int64_t sr_int(unsigned char*, int*, unsigned char, unsigned char, size_t&)': bitfiddle.inl:148: internal compiler error: in reloads_to_loads, at ra-rewrite.c:1068 Please submit a full bug report, with preprocessed source if appropriate. (please don't care about the kernel version/patch, it's just my personal modification to make this radeon9800XT work with the framebuffer) Environment: System: Linux StrongHold 2.6.1-paya1 #2 Fri Jan 16 16:44:24 ART 2004 i686 AMD Athlon(tm) XP AuthenticAMD GNU/Linux Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib How-To-Repeat: With this CFLAGS and the version of gcc, emerge xchm in gentoo. CFLAGS="-O2 -fmove-all-movables -fnew-ra -finline-limit=600 -maccumulate-outgoing-args -minline-all-stringops -fprefetch-loop-arrays -mno-align-stringops -frename-registers -mfpmath=387 -march=athlon-xp -fomit-frame-pointer -pipe"
Fix: remove -fnew-ra and it compiles perfectly.
-fnew-ra is not supported at all for 3.3.x or 3.4, this might get fixed for 3.5 though.
Suspending until either new-regalloc branch is merged to mainline, or bug is rechecked against new-regalloc branch.
Closing as wiill not fix as new-ra was removed from the mainline.