[ARC] Fix logic set UNALIGNED_ACCESS
authorClaudiu Zissulescu <claziss@synopsys.com>
Wed, 6 Mar 2019 10:45:51 +0000 (11:45 +0100)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Wed, 6 Mar 2019 10:45:51 +0000 (11:45 +0100)
commit9f54ba8f7dfb00d834893a746db141a409778ad9
tree6014d029848146d70216ca5462aea848b1881345
parent3050b357660bf0425e0ac63c22960d2ec3af4572
[ARC] Fix logic set UNALIGNED_ACCESS

gcc/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc-c.def (__ARC_UNALIGNED__): Set it on
unaligned_access variable.
* config/arc/arc.c (arc_override_options): Set unaligned access
default on for HS CPUs.
* config/arc/arc.h (STRICT_ALIGNMENT): Fix logic.

From-SVN: r269417
gcc/ChangeLog
gcc/config/arc/arc-c.def
gcc/config/arc/arc.c
gcc/config/arc/arc.h