[Bug target/109541] [12/13 regression] ICE in extract_constrain_insn on when building rhash-1.4.3
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 16 19:52:02 GMT 2023
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
<vmakarov@gcc.gnu.org>:
https://gcc.gnu.org/g:5568d224f2e179b8e91a90fa4fba10bd8a7f963d
commit r13-7451-g5568d224f2e179b8e91a90fa4fba10bd8a7f963d
Author: Vladimir N. Makarov <vmakarov@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.
More information about the Gcc-bugs
mailing list