This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)
- From: "howarth at bromo dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Nov 2014 15:19:59 +0000
- Subject: [Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)
- Auto-submitted: auto-generated
- References: <bug-63793-4 at http dot gcc dot gnu dot org/bugzilla/>
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