[AArch64] Properly guard CUMULATIVE_ARGS definition and remove 'enum' from machine_mode in aarch64.h

* config/aarch64/aarch64.h (MACHMODE): Remove 'enum' keyword.
	(CUMULATIVE_ARGS): Guard on !defined(USED_FOR_TARGET).

From-SVN: r217358
This commit is contained in:
Kyrylo Tkachov 2014-11-11 15:29:21 +00:00 committed by Kyrylo Tkachov
parent 67183c4d78
commit febd3244c4
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2014-11-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.h (MACHMODE): Remove 'enum' keyword.
(CUMULATIVE_ARGS): Guard on !defined(USED_FOR_TARGET).
2014-11-11 Richard Biener <rguenther@suse.de>
* tree-core.h (pedantic_lvalues): Remove.

View file

@ -619,10 +619,10 @@ enum arm_pcs
#define MACHMODE int
#else
#include "insn-modes.h"
#define MACHMODE enum machine_mode
#define MACHMODE machine_mode
#endif
#ifndef USED_FOR_TARGET
/* AAPCS related state tracking. */
typedef struct
{
@ -643,6 +643,7 @@ typedef struct
int aapcs_stack_size; /* The total size (in words, per 8 byte) of the
stack arg area so far. */
} CUMULATIVE_ARGS;
#endif
#define FUNCTION_ARG_PADDING(MODE, TYPE) \
(aarch64_pad_arg_upward (MODE, TYPE) ? upward : downward)