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

--- Comment #18 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmaka...@gcc.gnu.org>:

https://gcc.gnu.org/g:8cc8707446b77f9413654b31704f5a639673c916

commit r14-1610-g8cc8707446b77f9413654b31704f5a639673c916
Author: Vladimir N. Makarov <vmaka...@redhat.com>
Date:   Wed Jun 7 09:51:54 2023 -0400

    RA: Constrain class of pic offset table pseudo to general regs

    On some targets an integer pseudo can be assigned to a FP reg.  For
    pic offset table pseudo it means we will reload the pseudo in this
    case and, as a consequence, memory containing the pseudo might be
    recognized as wrong one.  The patch fix this problem.

            PR target/109541

    gcc/ChangeLog:

            * ira-costs.cc: (find_costs_and_classes): Constrain classes of pic
            offset table pseudo to a general reg subset.

    gcc/testsuite/ChangeLog:

            * gcc.target/sparc/pr109541.c: New.
  • [Bug target/109541] [12/13/14 r... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to