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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aaron Sawdey <acsaw...@gcc.gnu.org>:

https://gcc.gnu.org/g:aba6453890ce1754b7d1c01a67612766690ff15e

commit r10-7722-gaba6453890ce1754b7d1c01a67612766690ff15e
Author: Aaron Sawdey <acsaw...@linux.ibm.com>
Date:   Tue Apr 14 14:38:47 2020 -0500

    Fix for PR/94542, do not make TLS refs PC-relative

    For rs6000 target, it is not valid to make PC-relative
    references to TLS symbols. So addr_to_insn_form() needs
    to check if things are TLS before returning PC-rel forms.

    2020-04-14  Aaron Sawdey  <acsaw...@linux.ibm.com>

            PR target/94542
            * config/rs6000/rs6000.c (address_to_insn_form): Do not attempt to
            use PC-relative addressing for TLS references.

Reply via email to