This problem occurs compiling wxWidgets 2.6.0 and also if I try to compile a program using wxWidgets 2.5.x compiled with gcc 3.4.2.
It's the one when compiling wxWidgets 2.6.0: $ sh ../configure CXXFLAGS='-O4 -s -DNO_GCC_PRAGMA' --with-msw --enable-stl --enable-shared --with-odbc $ make ../src/common/sckipc.cpp:755: internal compiler error: output_operand: invalid expression as operand Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make: *** [netdll_sckipc.o] Error 1 $ gcc -v: Using built-in specs. Target: mingw32 Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host= mingw32 --target=mingw32 --prefix=C:/MinGW --enable-threads --disable-nls --enab le-languages=c,c++ --disable-win32-registry --disable-shared --without-x Thread model: win32 gcc version 4.0.0 sckipc.ii can be downloaded from http://gda.utp.edu.co/~ceniza/sckipc.zip -- Summary: internal compiler error: output_operand Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: critical Priority: P1 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ceniza666 at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21447