[ARC] Enable unaligned access

Programming / Compilers / GCC - claziss [138bc75d-0d04-0410-961f-82ee72b054a4] - 8 January 2018 10:49 EST

Use munaligned-access to control if we can have unaligned accesses. For ARC HS family unaligned access is always on.

2018-01-08 Claudiu Zissulescu

- config/arc/arc-c.def (__ARC_UNALIGNED__): New define.
- config/arc/arc.h (STRICT_ALIGNMENT): Control this macro using munaligned-access.

9859e9a71da [ARC] Enable unaligned access.
gcc/ChangeLog | 6 ++++++
gcc/config/arc/arc-c.def | 1 +
gcc/config/arc/arc.h | 2 +-
3 files changed, 8 insertions(+), 1 deletion(-)

Upstream: gcc.gnu.org


  • Share