diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e87eb5f..55ae14b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR target/44705 + * config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF. + 2010-07-03 Jan Hubicka <jh@suse.cz> * timevar.def (TV_OUT_OF_SSA, TV_VAR_EXPAND, TV_POST_EXPAND, diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 4eae700..1bb0f10 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1142,9 +1142,7 @@ extern int may_call_alloca; || ((MODE) != SFmode \ && (MODE) != DFmode))) \ goto ADDR; \ - else if (GET_CODE (X) == LABEL_REF \ - || (GET_CODE (X) == CONST_INT \ - && INT_5_BITS (X))) \ + else if (GET_CODE (X) == CONST_INT && INT_5_BITS (X)) \ goto ADDR; \ /* Needed for -fPIC */ \ else if (GET_CODE (X) == LO_SUM \ |