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

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

https://gcc.gnu.org/g:5568d224f2e179b8e91a90fa4fba10bd8a7f963d

commit r13-7451-g5568d224f2e179b8e91a90fa4fba10bd8a7f963d
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.

Reply via email to