diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 19 |
2 files changed, 16 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca6a05f..bb90505 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-12-08 John David Anglin <dave.anglin.@nrc-cnrc.gc.ca> + + * pa.h (LEGITIMATE_CONSTANT_P): Simplify. + 2006-12-08 Mark Shinwell <shinwell@codesourcery.com> * recog.c (mode_dependent_address_p): Identify pre-increment, diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index f463faf..69d599c 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1119,13 +1119,18 @@ extern int may_call_alloca; #define LEGITIMATE_CONSTANT_P(X) \ ((GET_MODE_CLASS (GET_MODE (X)) != MODE_FLOAT \ || (X) == CONST0_RTX (GET_MODE (X))) \ - && (NEW_HP_ASSEMBLER || TARGET_GAS || GET_CODE (X) != LABEL_REF) \ - && !(TARGET_64BIT && GET_CODE (X) == CONST_DOUBLE) \ - && !(TARGET_64BIT && GET_CODE (X) == CONST_INT \ - && !(HOST_BITS_PER_WIDE_INT <= 32 \ - || (reload_in_progress || reload_completed) \ - || LEGITIMATE_64BIT_CONST_INT_P (INTVAL (X)) \ - || cint_ok_for_move (INTVAL (X)))) \ + && (NEW_HP_ASSEMBLER \ + || TARGET_GAS \ + || GET_CODE (X) != LABEL_REF) \ + && (!TARGET_64BIT \ + || GET_CODE (X) != CONST_DOUBLE) \ + && (!TARGET_64BIT \ + || HOST_BITS_PER_WIDE_INT <= 32 \ + || GET_CODE (X) != CONST_INT \ + || reload_in_progress \ + || reload_completed \ + || LEGITIMATE_64BIT_CONST_INT_P (INTVAL (X)) \ + || cint_ok_for_move (INTVAL (X))) \ && !function_label_operand (X, VOIDmode)) /* Target flags set on a symbol_ref. */ |