This happes trying to compile gettetxt-0.16 with -O3 -mthreads -msse2 -mmmx ... Note that it compiles just fine without all the '-march=pentium4 -msse -msse2 -mmmx -O3 -mfpmath=sse -mthreads -Wall -v -save-temps' options ...
Here is the output /bin/sh ../libtool --tag=CC --mode=compile i786-pc-mingw32-gcc -DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=1 -DGETTEXTJEXEDIR=\"/mingw/lib/gettext\" -DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\" -DGETTEXTDATADIR=\"/mingw/share/gettext\" -DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../libuniname -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/mingw/include -march=pentium4 -msse -msse2 -mmmx -O3 -mfpmath=sse -mthreads -Wall -v -save-temps -c -o msgl-check.lo msgl-check.c i786-pc-mingw32-gcc -DLOCALEDIR=\"/mingw/share/locale\" -DBISON_LOCALEDIR=\"\" -DLOCALE_ALIAS_PATH=\"/mingw/share/locale\" -DUSEJEXE=1 -DGETTEXTJEXEDIR=\"/mingw/lib/gettext\" -DGETTEXTJAR=\"/mingw/share/gettext/gettext.jar\" -DLIBDIR=\"/mingw/lib\" -DGETTEXTDATADIR=\"/mingw/share/gettext\" -DPROJECTSDIR=\"/mingw/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../libuniname -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -I/mingw/include -march=pentium4 -msse -msse2 -mmmx -O3 -mfpmath=sse -mthreads -Wall -v -save-temps -c msgl-check.c -DDLL_EXPORT -DPIC -o .libs/msgl-check.o Using built-in specs. Target: i786-pc-mingw32 Configured with: ../gcc-4.1.1/configure --disable-win32-registry --enable-threads --enable-tls --prefix=/mingw --with-arch=pentium4 i786-pc-mingw32 : (reconfigured) ../gcc-4.1.1/configure --disable-win32-registry --enable-threads --enable-tls --prefix=/mingw --with-arch=pentium4 --enable-languages=c,c++ i786-pc-mingw32 Thread model: win32 gcc version 4.1.1 d:/local/msys/1.0/mingw/bin/../libexec/gcc/i786-pc-mingw32/4.1.1/cc1.exe -E -quiet -v -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../libuniname -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -ID:/Local/msys/1.0/mingw/include -iprefix d:\local\msys\1.0\mingw\bin\../lib/gcc/i786-pc-mingw32/4.1.1/ -D_MT -DLOCALEDIR="D:/Local/msys/1.0/mingw/share/locale" -DBISON_LOCALEDIR="" -DLOCALE_ALIAS_PATH="D:/Local/msys/1.0/mingw/share/locale" -DUSEJEXE=1 -DGETTEXTJEXEDIR="D:/Local/msys/1.0/mingw/lib/gettext" -DGETTEXTJAR="D:/Local/msys/1.0/mingw/share/gettext/gettext.jar" -DLIBDIR="D:/Local/msys/1.0/mingw/lib" -DGETTEXTDATADIR="D:/Local/msys/1.0/mingw/share/gettext" -DPROJECTSDIR="D:/Local/msys/1.0/mingw/share/gettext/projects" -DHAVE_CONFIG_H -DDLL_EXPORT -DPIC msgl-check.c -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -mthreads -Wall -O3 -fpch-preprocess -o msgl-check.i ignoring nonexistent directory "/mingw/include" ignoring nonexistent directory "D:/Local/msys/1.0/mingw/i786-pc-mingw32/include" ignoring nonexistent directory "/mingw/include" #include "..." search starts here: #include <...> search starts here: . .. . . .. .. ../libgrep ../libuniname ../gnulib-lib ../gnulib-lib ../intl ../../gettext-runtime/intl D:/Local/msys/1.0/mingw/include d:/local/msys/1.0/mingw/bin/../lib/gcc/i786-pc-mingw32/4.1.1/include D:/Local/msys/1.0/mingw/include D:/Local/msys/1.0/mingw/lib/gcc/i786-pc-mingw32/4.1.1/include End of search list. d:/local/msys/1.0/mingw/bin/../libexec/gcc/i786-pc-mingw32/4.1.1/cc1.exe -fpreprocessed msgl-check.i -quiet -dumpbase msgl-check.c -march=pentium4 -msse -msse2 -mmmx -mfpmath=sse -mthreads -auxbase-strip .libs/msgl-check.o -O3 -Wall -version -o msgl-check.s GNU C version 4.1.1 (i786-pc-mingw32) compiled by GNU C version 4.1.1. GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=131006 Compiler executable checksum: fdfb34fc179dab6a0e7af749688cf25a msgl-check.c: In function 'plural_help': msgl-check.c:195: error: unrecognizable insn: (insn 38 36 39 4 (set (reg:SI 76) (const:SI (plus:SI (mem:SI (symbol_ref:SI ("#i.plural_table") <var_decl 01366C08 plural_table>) [0 S4 A8]) (const_int 4 [0x4])))) -1 (nil) (nil)) msgl-check.c:195: internal compiler error: in extract_insn, at recog.c:2084 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: Internal compiler error: unrecognizable insn Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: terminatorul at gmail dot com GCC build triplet: i686-pc-mingw32 GCC host triplet: i686-pc-mingw32 GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31347