+2014-10-29 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
+
+ * config/arm/arm.h (MACHMODE): Treat machine_mode as a
+ scalar typedef.
+ (CUMULATIVE_ARGS): Guard against target includes.
+ (machine_function): Likewise.
+
2014-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.c (aarch64_madd_needs_nop): Restore
#define MACHMODE int
#else
#include "insn-modes.h"
-#define MACHMODE enum machine_mode
+#define MACHMODE machine_mode
#endif
#include "config/vxworks-dummy.h"
}
arm_stack_offsets;
-#if !defined(GENERATOR_FILE) && !defined(USED_FOR_TARGET)
+#if !defined(GENERATOR_FILE) && !defined (USED_FOR_TARGET)
/* A C structure for machine-specific, per-function data.
This is added to the cfun structure. */
typedef struct GTY(()) machine_function
/* Default procedure calling standard of current compilation unit. */
extern enum arm_pcs arm_pcs_default;
+#if !defined (USED_FOR_TARGET)
/* A C type for declaring a variable that is used as the first argument of
`FUNCTION_ARG' and other related values. */
typedef struct
int aapcs_vfp_rcount;
MACHMODE aapcs_vfp_rmode;
} CUMULATIVE_ARGS;
+#endif
#define FUNCTION_ARG_PADDING(MODE, TYPE) \
(arm_pad_arg_upward (MODE, TYPE) ? upward : downward)