diff options
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9ea66f..7949a9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index fce53fe..c571a75 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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. */ |