Backport patch from GCC FSF to fix stack problem for aarch64:

2014-11-04  Jiong Wang  <jiong.wang@arm.com>
2014-11-04  Wilco Dijkstra  <wilco.dijkstra@arm.com>

  PR target/63293
  * config/aarch64/aarch64.c (aarch64_expand_epiloue): Add barriers
  before stack adjustment.

BUG=chromium:509102
TEST=Built test cases before and after change, with various flags, and
examined assembly code to see if the problem was there and verified
the patch fixed the problem when present.

Change-Id: Ief52b321bca87ddf98445db8f8d402554ba3aee3
Reviewed-on: https://chromium-review.googlesource.com/287448
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Caroline Tice <cmtice@chromium.org>
Tested-by: Caroline Tice <cmtice@chromium.org>
1 file changed