From: H.J. Lu Date: Wed, 4 Feb 2015 19:35:17 +0000 (-0800) Subject: Clear hard frame pointer alignment if not needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7489140d7d894778c5776cf7277af35b28d19d1a;p=gcc.git Clear hard frame pointer alignment if not needed When hard frame pointer isn't needed, the register for hard frame pointer may be reused. This patch clears alignment on hard frame pointer if hard frame pointer isn't needed. gcc/ PR rtl-optimization/64905 * lra-eliminations.c (setup_can_eliminate): Clear hard frame pointer alignment if it isn't needed. gcc/testsuite/ PR rtl-optimization/64905 * gcc.target/i386/pr64905.c: New file. From-SVN: r220414 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2507b892ee3..f724d54539b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-02-04 H.J. Lu + + PR rtl-optimization/64905 + * lra-eliminations.c (setup_can_eliminate): Clear hard frame + pointer alignment if it isn't needed. + 2015-02-04 Matthew Wahab * config/aarch64/aarch64-cores.def: Add cortex-a72 and diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6b10ca54a9b..ef6201751bd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-02-04 H.J. Lu + + PR rtl-optimization/64905 + * gcc.target/i386/pr64905.c: New file. + 2015-02-04 Segher Boessenkool * gcc.dg/guality/pr41447-1.c: Remove xfail.