hppa: Fix complaint about non-delegitimized UNSPEC UNSPEC_TP
2024-03-17 John David Anglin <danglin@gcc.gnu.org> gcc/ChangeLog: * config/pa/pa.cc (pa_delegitimize_address): Delegitimize UNSPEC_TP.
This commit is contained in:
parent
07fad7a7fc
commit
8064107535
1 changed files with 7 additions and 1 deletions
|
@ -10707,7 +10707,13 @@ pa_trampoline_adjust_address (rtx addr)
|
|||
static rtx
|
||||
pa_delegitimize_address (rtx orig_x)
|
||||
{
|
||||
rtx x = delegitimize_mem_from_attrs (orig_x);
|
||||
rtx x;
|
||||
|
||||
if (GET_CODE (orig_x) == UNSPEC
|
||||
&& XINT (orig_x, 1) == UNSPEC_TP)
|
||||
orig_x = XVECEXP (orig_x, 0, 0);
|
||||
|
||||
x = delegitimize_mem_from_attrs (orig_x);
|
||||
|
||||
if (GET_CODE (x) == LO_SUM
|
||||
&& GET_CODE (XEXP (x, 1)) == UNSPEC
|
||||
|
|
Loading…
Add table
Reference in a new issue