From 7489140d7d894778c5776cf7277af35b28d19d1a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 4 Feb 2015 11:35:17 -0800 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/testsuite/ChangeLog | 5 +++++ 2 files changed, 11 insertions(+) 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. -- 2.30.2