Commit febd3244 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[AArch64] Properly guard CUMULATIVE_ARGS definition and remove 'enum' from…

[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
parent 67183c4d
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.
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment