On 16/04/2013 07:55, Dave Korn wrote: > On 16/04/2013 07:05, Dave Korn wrote: >> On 15/04/2013 15:50, Angelo Graziosi wrote: > >>> /work/gcc-4.9-20130414/libgcc/config/i386/cygming-crtbegin.c:120:1: >>> error: unrecognizable insn: >>> } >>> ^ >>> (insn 15 14 16 5 (set (reg:SI 63) >>> (symbol_ref:SI ("GetModuleHandleA@4") [flags 0x441] >>> <function_decl 0x7f988e00 GetModuleHandleA>)) > > ix86_legitimate_address_p fails on (symbol_ref:SI ("GetModuleHandleA@4") > [flags 0x441] <function_decl 0x7fb9b600 GetModuleHandleA>). I suspect that > isn't helpful.
Oh no wait; that makes sense because it's a dllimport symbol, so not constant. Forget that theory. cheers, DaveK