https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117069
--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to H.J. Lu from comment #10) > (In reply to Hongtao Liu from comment #8) > > (In reply to Hongtao Liu from comment #6) > > > It looks like the testcase is fragile, it's supposed to check the compiler > > > ability of generating code_6_gottpoff_reloc instruction, but failed since > > > there's a seg_prefixed memory usage(r14-6242-gd564198f960a2f). > > > > > > mov r13, QWORD PTR j@gottpoff[rip] > > > mov r12, QWORD PTR a@gottpoff[rip] > > > mov rbp, QWORD PTR [rsp+1040] > > > lea rbx, [rsp+1040] > > > add r14, QWORD PTR fs:0, r12 > > > > @hjl, should we mark it as xfail? > > Sure. Only xfail /* { dg-final { scan-assembler-times "addq\[ \t]+%r\[a-z0-9\]+, a@gottpoff\\(%rip\\), %r\[a-z0-9\]+" 1 { target lp64 } } } */