]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/11576 (internal error at emit-rtl.c:2017)
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 23 Dec 2003 15:10:25 +0000 (15:10 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 23 Dec 2003 15:10:25 +0000 (15:10 +0000)
PR target/11576
* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
HIGH on all variants.

From-SVN: r74972

gcc/ChangeLog
gcc/config/h8300/h8300.h

index 5e0af2a3a336a3a408d5536a46f707e9f00ec7b0..c6b64386153881f37e6701daedb0bdd42bdf4492 100644 (file)
@@ -1,3 +1,9 @@
+2003-12-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR target/11576
+       * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
+       HIGH on all variants.
+
 2003-12-23  Matthias Klose  <doko@debian.org>
 
        * config/mips/linux.h (LIB_SPEC): Use -lpthread when
index b9da422024f9669ec984f3a1ed46dd30be071d35..1d02830ad4e5d729f24c0386cee64188701c9da7 100644 (file)
@@ -792,8 +792,7 @@ struct cum_arg
        /* We handle signed and unsigned offsets here.  */      \
        && INTVAL (X) > (TARGET_H8300 ? -0x10000 : -0x1000000)  \
        && INTVAL (X) < (TARGET_H8300 ? 0x10000 : 0x1000000))   \
-   || ((GET_CODE (X) == HIGH || GET_CODE (X) == CONST)         \
-       && TARGET_H8300))
+   || (GET_CODE (X) == HIGH || GET_CODE (X) == CONST))
 
 /* Nonzero if the constant value X is a legitimate general operand.
    It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE.  */