[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
Sun Nov 9 15:20:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793

--- Comment #4 from howarth at bromo dot med.uc.edu ---
The offending instructions can be seen with...

% grep _sumpartgrid.2471 convmix_kfeta.s
    leaq    _sumpartgrid.2471(%rip), %rax
    leaq    _sumpartgrid.2471(%rip), %rax
    leaq    _sumpartgrid.2471(%rip), %rdx
    leaq    _sumpartgrid.2471(%rip), %rdx
    leaq    _sumpartgrid.2471(%rip), %rdx
    .zerofill __DATA,__bss6,_sumpartgrid.2471,4000000,6



More information about the Gcc-bugs mailing list