[ARM] Fix/revert fallout from machine_mode change.

* config/arm/arm.h (MACHMODE): Add 'enum' to machine_mode.
	(struct machine_function): Gate definition on
	!defined(USED_FOR_TARGET).

From-SVN: r216845
This commit is contained in:
Kyrylo Tkachov 2014-10-29 17:02:59 +00:00 committed by Kyrylo Tkachov
parent 40f94f7d73
commit f74e99104f
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2014-10-29 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.h (MACHMODE): Add 'enum' to machine_mode.
(struct machine_function): Gate definition on
!defined(USED_FOR_TARGET).
2014-10-29 DJ Delorie <dj@redhat.com>
* expmed.c (strict_volatile_bitfield_p): Fix off-by-one error.

View file

@ -36,7 +36,7 @@
#define MACHMODE int
#else
#include "insn-modes.h"
#define MACHMODE machine_mode
#define MACHMODE enum machine_mode
#endif
#include "config/vxworks-dummy.h"
@ -1510,7 +1510,7 @@ typedef struct GTY(()) arm_stack_offsets
}
arm_stack_offsets;
#ifndef GENERATOR_FILE
#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