> I'm not quite sure what you mean by a testcase, but when compiling gcc
> itself, when libgomp/libgcc (Can't remember which) is being compiled, gcc
> will spit out invalid assembly that looks something like
> 
> movabsq $8+__gcov_indirect_call@secrel32, %rax

OK, I can reproduce this at -O0:

_gcov_indirect_call_profiler_v4.s: Assembler messages:
_gcov_indirect_call_profiler_v4.s:288: Error: 4-byte relocation cannot be 
applied to 8-byte field

but not at -O1 or -O2.

-- 
Eric Botcazou


Reply via email to