OSDN Git Service

* pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Dec 2007 00:17:43 +0000 (00:17 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Dec 2007 00:17:43 +0000 (00:17 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131130 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pa/pa.c

index b9ea66f..7949a9f 100644 (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.
index fce53fe..c571a75 100644 (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.  */