From c78e6152f7b3d1d72afedec3bdfb722f861bdee9 Mon Sep 17 00:00:00 2001 From: danglin Date: Sat, 22 Dec 2007 00:17:43 +0000 Subject: [PATCH] * pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131130 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 2 ++ gcc/config/pa/pa.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 + * 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. */ -- 2.7.4