------- Comment #9 from steven at gcc dot gnu dot org 2010-02-18 23:58 ------- #1 0x0000000000b4717b in assemble_variable (decl=0x7ffff7f62000, top_level=0, at_end=1, dont_output_data=0) at ../../gcc-4.4.2/gcc/varasm.c:2144 2144 gcc_assert (GET_CODE (XEXP (decl_rtl, 0)) == SYMBOL_REF);
This ICE comes from: 0x0000000000b8593e in arm_mark_dllimport (decl=0x7ffff7f62000) at ../../gcc-4.4.2/gcc/config/arm/pe.c:194 194 XEXP (DECL_RTL (decl), 0) = newrtl where this: (mem/s/c:BLK (symbol_ref:SI ("av_pix_fmt_descriptors") <var_decl 0x7ffff7f62000 av_pix_fmt_descriptors>) [0 av_pix_fmt_descriptors+0 S4 A32]) is replaced with this: (mem/s/c:BLK (mem:SI (symbol_ref:SI ("@i.__imp_av_pix_fmt_descriptors")) [0 S4 A32]) [0 av_pix_fmt_descriptors+0 S4 A32]) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43047