[Bug target/115485] [12/13/14/15 Regression] CASEServer.cpp:203:1: internal compiler error: in require_pic_register, at config/arm/arm.c:7855 since r7-1945-gb88bd5e0ca1208
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 7 10:40:20 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115485
--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Christophe Lyon <clyon@gcc.gnu.org>:
https://gcc.gnu.org/g:b1d0ac28de643e7c810e407a0668737131cdcc00
commit r15-7882-gb1d0ac28de643e7c810e407a0668737131cdcc00
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date: Mon Mar 3 11:12:18 2025 +0000
arm: Handle fixed PIC register in require_pic_register (PR target/115485)
Commit r9-4307-g89d7557202d25a forgot to accept a fixed PIC register
when extending the assert in require_pic_register.
arm_pic_register can be set explicitly by the user
(e.g. -mpic-register=r9) or implicitly as the default value with
-fpic/-fPIC/-fPIE and -mno-pic-data-is-text-relative -mlong-calls, and
we want to use/accept it when recording cfun->machine->pic_reg as used
to be the case.
PR target/115485
gcc/
* config/arm/arm.cc (require_pic_register): Fix typos in
comment. Handle fixed arm_pic_register.
gcc/testsuite/
* g++.target/arm/pr115485.C: New test.
More information about the Gcc-bugs
mailing list