aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/convex/convex.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/convex/convex.h')
-rw-r--r--gcc/config/convex/convex.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h
index 92e3124..eb4d936 100644
--- a/gcc/config/convex/convex.h
+++ b/gcc/config/convex/convex.h
@@ -1112,9 +1112,8 @@ enum reg_class {
#define RTX_COSTS(RTX,CODE,OUTER_CODE) \
case PLUS: \
- if (cfun->emit->regno_pointer_flag != 0 \
- && GET_CODE (XEXP (RTX, 0)) == REG \
- && REGNO_POINTER_FLAG (REGNO (XEXP (RTX, 0))) \
+ if (GET_CODE (XEXP (RTX, 0)) == REG \
+ && REG_POINTER (XEXP (RTX, 0)) \
&& GET_CODE (XEXP (RTX, 1)) == CONST_INT) \
return 0; \
else break; \