[Bug target/81863] [7 regression] -mword-relocations is unreliable

ramana at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 5 08:42:00 GMT 2017


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

--- Comment #18 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
> 
> > That certainly appears to be a better approach prima-facie and a quick
> > experiment with a 
> > 
> > 
> > if (target_word_relocations)
> >   return false;
> > 
> > in arm_valid_symbolic_address () appears to deal with the issue. 
> 
> I think I tried that in first place, and it didn't fix one of the testcases,
> but maybe I used a wrong build tree, I'll re-test that.


I've tried it now and it appears to work for both the testcases. I'll post a
patch once testing finishes today.


More information about the Gcc-bugs mailing list