gcc 4.4.0 based cross-compiler (http://cegcc.sourceforge.net) can be used to show the bug, I think it's not specific to that project though.
pavilion: {108} arm-mingw32ce-gcc -c -DCRASH k.c k.c: In function 'ff_fill_linesize': k.c:12: error: unrecognizable insn: (insn 6 5 7 3 k.c:9 (set (reg/f:SI 136 [ av_pix_fmt_descriptors.0 ]) (symbol_ref:SI ("av_pix_fmt_descriptors") [flags 0x440] <var_decl 0xb7cb6000 av_pix_fmt_descriptors>)) -1 (nil)) k.c:12: internal compiler error: in extract_insn, at recog.c:2048 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. pavilion: {109} cat k.c #ifdef CRASH __attribute__((dllimport)) int av_pix_fmt_descriptors[]; #else int av_pix_fmt_descriptors[]; #endif __attribute__((dllexport)) int ff_fill_linesize(int pix_fmt) { const int *desc = &av_pix_fmt_descriptors[pix_fmt]; return 0; } pavilion: {110} -- Summary: internal compiler error: in extract_insn, at recog.c:2048 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danny dot backx at scarlet dot be GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: arm-unknown-mingw32ce http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43047