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, 14 Oct 2012 19:31:02 +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 #2 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-14 19:31:02 UTC ---
Author: steven
Date: Sun Oct 14 19:30:59 2012
New Revision: 192440
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192440
Log:
PR rtl-optimization/38711
* df.h (df_get_live_out, df_get_live_in): Make static inline functions.
* df-problems.c (df_get_live_out, df_get_live_in): Moved to df.h.
* ira-lives.c (process_bb_node_lives): Use df_get_live_out instead of
DF_LR_OUT.
* ira-build.c (create_bb_allocnos): Likewise.
(create_loop_allocnos): Likewise, and use df_get_live_in instead of
DF_LR_IN.
* ira-emit.c (generate_edge_moves): Likewise.
(add_ranges_and_copies): Likewise.
* ira-color.c (ira_loop_edge_freq): Use df_get_live_out instead of
DF_LR_OUT, and df_get_live_in instead of DF_LR_IN.
* ira.c (mark_elimination): Update DF_LR and DF_LIVE.
(build_insn_chain): Use df_get_live_out instead of DF_LR_OUT.
(do_reload): Remove the DF_LIVE problem for -O1.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/df-problems.c
trunk/gcc/df.h
trunk/gcc/ira-build.c
trunk/gcc/ira-color.c
trunk/gcc/ira-emit.c
trunk/gcc/ira-lives.c
trunk/gcc/ira.c