I just tried to compile Suse Linux package bochs-2.2.1-6 with a recent GNU C++ compiler version 4.2 snapshot 20060225.
The compiler snapshot said g++ -c -I. -I./. -Iinstrument/stubs -I./instrument/stubs -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fpermissive -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -pthread `sdl-config --cflags` `wx-config --cxxflags` -I/opt/gnome/include/gtk-2.0 -DBX_PLUGIN_PATH="\"/usr/lib64/bochs/plugins\"" -DBX_SHARE_PATH='"/usr/share/bochs"' logio.cc logio.cc:277: internal compiler error: in add_virtual_operand, at tree-ssa-operands.c:1867 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source code attached. Flags -fpermissive and -O2 required. -- Summary: ice for valid code with -O2 and -fpermissive Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: x86_64-suse-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26476