Got an ICE trying to compile MAME with the mingw-w64-bin_i686-mingw_20090605 snapshot of mingw-w64:
In file included from src/emu/cpu/tms9900/ti990_10.c:9:0: src/emu/cpu/tms9900/99xxcore.h:149:25: warning: "TMS99105A_ID" is not defined src/emu/cpu/tms9900/99xxcore.h:157:25: warning: "TMS99110A_ID" is not defined In file included from src/emu/cpu/tms9900/ti990_10.c:9:0: src/emu/cpu/tms9900/99xxcore.h: In function 'contextswitchX': src/emu/cpu/tms9900/99xxcore.h:2530:1: internal compiler error: in purge_dead_edges, at cfgrtl.c:2325 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -v: Using built-in specs. Target: x86_64-w64-mingw32 Configured with: ../gcc/configure --target=x86_64-w64-mingw32 --prefix=/c/buildbot/vista64-mingw32/mingw-x86-x86_64/build/build/root --with-sysroot=/c/buildbot/vista64-mingw32/mingw-x86-x86_64/build/build/root --enable-languages=all,obj-c++ --enable-fully-dynamic-string --disable-multilib Thread model: win32 gcc version 4.5.0 20090605 (experimental) (GCC) Command line (unfortunately long because of the amount of flags used by the makefile): x86_64-w64-mingw32-gcc -DCRLF=3 -DINLINE="static __inline__" -DLSB_FIRST -DPTR64 -DNDEBUG -DX64_WINDOWS_ABI -Dmain=utf8_main -DUNICODE -D_UNICODE -D_COM_interface=struct -DNATIVE_DRC=drcbe_x64_be_interface -DHAS_SAMPLES=1 -DHAS_DAC=1 -DHAS_DMADAC=1 -DHAS_SPEAKER=1 -DHAS_BEEP=1 -DHAS_CDDA=1 -DHAS_DISCRETE=1 -DHAS_POKEY=1 -DHAS_TIA=1 -DHAS_ASTROCADE=1 -DHAS_CEM3394=1 -DHAS_BSMT2000=1 -DHAS_ES5503=1 -DHAS_ES5505=1 -DHAS_ES5506=1 -DHAS_ES8712=1 -DHAS_GAELCO_CG1V=1 -DHAS_GAELCO_GAE1=1 -DHAS_CDP1869=1 -DHAS_AY8910=1 -DHAS_HC55516=1 -DHAS_C6280=1 -DHAS_ICS2115=1 -DHAS_IREMGA20=1 -DHAS_K005289=1 -DHAS_K007232=1 -DHAS_K051649=1 -DHAS_K053260=1 -DHAS_K054539=1 -DHAS_NAMCO=1 -DHAS_NAMCO_15XX=1 -DHAS_NAMCO_CUS30=1 -DHAS_NAMCO_63701X=1 -DHAS_C140=1 -DHAS_C352=1 -DHAS_DIGITALKER=1 -DHAS_NES=1 -DHAS_UPD7759=1 -DHAS_MSM5205=1 -DHAS_MSM5232=1 -DHAS_OKIM6376=1 -DHAS_OKIM6295=1 -DHAS_OKIM6258=1 -DHAS_SAA1099=1 -DHAS_QSOUND=1 -DHAS_RF5C68=1 -DHAS_RF5C400=1 -DHAS_SEGAPCM=1 -DHAS_MULTIPCM=1 -DHAS_SCSP=1 -DHAS_AICA=1 -DHAS_ST0016=1 -DHAS_NILE=1 -DHAS_X1_010=1 -DHAS_SID6581=0 -DHAS_SID8580=0 -DHAS_T6W28=1 -DHAS_SNKWAVE=1 -DHAS_PSXSPU=1 -DHAS_SP0256=1 -DHAS_SP0250=1 -DHAS_S14001A=1 -DHAS_SN76477=1 -DHAS_SN76496=1 -DHAS_TMS36XX=1 -DHAS_TMS3615=1 -DHAS_TMS5100=1 -DHAS_TMS5110=1 -DHAS_TMS5110A=1 -DHAS_CD2801=1 -DHAS_TMC0281=1 -DHAS_CD2802=1 -DHAS_M58817=1 -DHAS_TMC0285=1 -DHAS_TMS5200=1 -DHAS_TMS5220=1 -DHAS_VLM5030=1 -DHAS_VOTRAX=0 -DHAS_VRENDER0=1 -DHAS_WAVE=1 -DHAS_YM2151=1 -DHAS_YM2203=1 -DHAS_YM2413=1 -DHAS_YM2608=1 -DHAS_YM2610=1 -DHAS_YM2610B=1 -DHAS_YM2612=1 -DHAS_YM3438=1 -DHAS_YM3812=1 -DHAS_YM3526=1 -DHAS_Y8950=1 -DHAS_YMF262=1 -DHAS_YMF271=1 -DHAS_YMF278B=1 -DHAS_YMZ280B=1 -pipe -O3 -Werror -fno-strict-aliasing -march=native -Wno-error -save-temps -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Isrc/mame -Isrc/mame/includes -Iobj/windows/mame/mame/layout -Isrc/emu -Iobj/windows/mame/emu -Iobj/windows/mame/emu/layout -Isrc/lib/util -Isrc/osd -Isrc/osd/windows -Isrc/lib/expat -Isrc/lib/zlib -include src/osd/windows/winprefix.h -DDIRECTINPUT_VERSION=0x0700 -std=gnu89 -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wdeclaration-after-statement -c src/emu/cpu/tms9900/ti990_10.c -o obj/windows/mame/emu/cpu/tms9900/ti990_10.o -- Summary: ICE in in purge_dead_edges, at cfgrtl.c:2325 compiling MAME Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dopefishjustin at gmail dot com GCC target triplet: x86_64-w64-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40364