This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
- From: "steven at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 28 Oct 2012 11:52:16 +0000
- Subject: [Bug rtl-optimization/38711] ira should not be using df-lr except at -O1.
- Auto-submitted: auto-generated
- References: <bug-38711-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38711
--- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-28 11:52:16 UTC ---
Author: steven
Date: Sun Oct 28 11:52:11 2012
New Revision: 192890
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192890
Log:
PR rtl-optimization/38711
* ira.c (ira): Remove DF_LIVE if the problem is in the stack.
(do_reload): Add it back at the end for -O2 and higher.
* function.c (thread_prologue_and_epilogue_insns): Use
REG_SET_TO_HARD_REG_SET instead of CLEAR_HARD_REG_SET and
reg_set_to_hard_reg_set.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.c
trunk/gcc/ira.c