pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.

* pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.

From-SVN: r131130
This commit is contained in:
John David Anglin 2007-12-22 00:17:43 +00:00 committed by John David Anglin
parent a9ac35c8e8
commit 94919bd2bc
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2007-12-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.
PR target/34525
* pa.c (legitimize_pic_address): Emit insn to load function label
forced to memory.

View File

@ -948,7 +948,7 @@ hppa_legitimize_address (rtx x, rtx oldx ATTRIBUTE_UNUSED,
int mask;
mask = (GET_MODE_CLASS (mode) == MODE_FLOAT
? (TARGET_PA_20 ? 0x3fff : 0x1f) : 0x3fff);
? (INT14_OK_STRICT ? 0x3fff : 0x1f) : 0x3fff);
/* Choose which way to round the offset. Round up if we
are >= halfway to the next boundary. */