Clear hard frame pointer alignment if not needed
authorH.J. Lu <hjl@gcc.gnu.org>
Wed, 4 Feb 2015 19:35:17 +0000 (11:35 -0800)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 4 Feb 2015 19:35:17 +0000 (11:35 -0800)
commit7489140d7d894778c5776cf7277af35b28d19d1a
treea52987cd4f3f8714d384cb86161e8c5cc356e463
parentd8f70d78cb9f8f6ccd7539b1ea4c681b8a06a095
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
gcc/testsuite/ChangeLog