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

--- 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:85bce484d37fdda9c7eadb9bdcdb1ded891462bb

commit r11-830-g85bce484d37fdda9c7eadb9bdcdb1ded891462bb
Author: Aaron Sawdey <acsaw...@linux.ibm.com>
Date:   Fri May 29 16:19:10 2020 -0500

    Correctly identify stfs if prefixed

    Because reg_to_non_prefixed() only looks at the register being used, it
    doesn't get the right answer for stfs, which leads to us not seeing
    that it has a PCREL symbol ref.  This patch works around this by
    introducing a helper function that inspects the insn to see if it is in
    fact a stfs. Then if we use NON_PREFIXED_DEFAULT, address_to_insn_form()
    can see that it has the PCREL symbol ref.

    gcc/ChangeLog:

            PR target/95347
            * config/rs6000/rs6000.c (prefixed_store_p): Add special case
            for stfs.
            (is_stfs_insn): New helper function.

Reply via email to