Commit f74e9910 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[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
parent 40f94f7d
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> 2014-10-29 DJ Delorie <dj@redhat.com>
* expmed.c (strict_volatile_bitfield_p): Fix off-by-one error. * expmed.c (strict_volatile_bitfield_p): Fix off-by-one error.
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#define MACHMODE int #define MACHMODE int
#else #else
#include "insn-modes.h" #include "insn-modes.h"
#define MACHMODE machine_mode #define MACHMODE enum machine_mode
#endif #endif
#include "config/vxworks-dummy.h" #include "config/vxworks-dummy.h"
...@@ -1510,7 +1510,7 @@ typedef struct GTY(()) arm_stack_offsets ...@@ -1510,7 +1510,7 @@ typedef struct GTY(()) arm_stack_offsets
} }
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. /* A C structure for machine-specific, per-function data.
This is added to the cfun structure. */ This is added to the cfun structure. */
typedef struct GTY(()) machine_function typedef struct GTY(()) machine_function
......
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