This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]