From 3a0c7e3af1954b05fa1c12ea5818d4d6d62ffea5 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 3 Jul 2010 20:28:44 +0000 Subject: [PATCH] re PR target/44705 (FAIL: gcc.dg/pr44674.c (internal compiler error)) PR target/44705 * config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF. From-SVN: r161781 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.h | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e87eb5ff69d..55ae14bcce8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-03 John David Anglin + + PR target/44705 + * config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF. + 2010-07-03 Jan Hubicka * 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 4eae700b077..1bb0f106b30 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 \