]> 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:20:26 +0000 (00:20 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 22 Dec 2007 00:20:26 +0000 (00:20 +0000)
* pa.c (hppa_legitimize_address): Use INT14_OK_STRICT in mask selection.

From-SVN: r131132

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

index 35d60e88ae7d434a661d36c0c381dca93a5bfa5c..e0d3e28797191ba45dca30525881ee58b5d9ea0a 100644 (file)
@@ -1,3 +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.
+
 2007-12-19  Kaz Kylheku  <kaz@zeugmasystems.com>
 
        PR rtl-optimization/34456
index 20fde92e24f1d477b2ccd2f396c7938fb8553727..406ed51feacfd2ff2c3dff82e51024ca94ff441a 100644 (file)
@@ -878,7 +878,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.  */