* config/mep/mep.h (FUNCTION_ARG_REGNO_P): Exclude coprocessor
registers if no coprocessor is enabled.
From-SVN: r151257
+2009-08-31 DJ Delorie <dj@redhat.com>
+
+ * config/mep/mep.h (FUNCTION_ARG_REGNO_P): Exclude coprocessor
+ registers if no coprocessor is enabled.
+
2009-08-31 Dodji Seketeli <dodji@redhat.com>
PR debug/30161
#define FUNCTION_ARG_REGNO_P(REGNO) \
(((REGNO) >= 1 && (REGNO) <= 4) \
- || ((REGNO) >= FIRST_CR_REGNO + 1 && (REGNO) <= FIRST_CR_REGNO + 4))
+ || ((REGNO) >= FIRST_CR_REGNO + 1 \
+ && (REGNO) <= FIRST_CR_REGNO + 4 \
+ && TARGET_COP))
#define RETURN_VALUE_REGNUM 0