]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sat, 22 Dec 2007 00:17:43 +0000 (00:17 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 22 Dec 2007 00:17:43 +0000 (00:17 +0000)
* pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.

From-SVN: r131130

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

index b9ea66f240d62c65b8214f03063bf08d5a9ff023..7949a9f8dc0a6c32d724403b63fdc4363f6d4722 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 fce53fe62093208ad9960fb546e8b3a89d228d03..c571a75c447280e90aa8d21ecdde2ad9f5f5b20a 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.  */