[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)
howarth at bromo dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Fri Nov 14 00:55:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793
--- Comment #15 from howarth at bromo dot med.uc.edu ---
(In reply to Iain Sandoe from comment #12)
The question arises if this section...
else if (TARGET_MACHO)
{
fprintf (file, ASM_LONG "%s%d-", LPREFIX, value);
machopic_output_function_base_name (file);
putc ('\n', file);
}
#endif
could even be emitting the...
leaq _sumpartgrid.2471(%rip), %rax
as there is no '-' in that assembly output.
More information about the Gcc-bugs
mailing list