[dataflow]: PATCH: fix regressions on x86_64
Seongbae Park
seongbae.park@gmail.com
Tue Nov 14 23:40:00 GMT 2006
This fixes the regression on x86-64.
Bootstrapped on x86-64.
Seongbae
2006-11-14 Seongbae Park <seongbae.park@gmail.com>
* function.c (thread_prologue_and_epilogue_insns):
Update regs_ever_live during df scanning.
-------------- next part --------------
Index: gcc/function.c
===================================================================
--- gcc/function.c (revision 118828)
+++ gcc/function.c (working copy)
@@ -5093,7 +5093,7 @@ thread_prologue_and_epilogue_insns (void
#endif
edge_iterator ei;
- prologue_epilogue_df = df_init (0, DF_NO_REGS_EVER_LIVE);
+ prologue_epilogue_df = df_init (0, 0);
/* Do not even think about running dce here!!!! All life, as we
know it will cease!!! There is dead code created by the previous
call to split_all_insns that is resurrected by the prologue and
@@ -5136,7 +5136,6 @@ thread_prologue_and_epilogue_insns (void
inserted = 1;
}
#endif
- df_compute_regs_ever_live (prologue_epilogue_df, regs_ever_live);
/* If the exit block has no non-fake predecessors, we don't need
an epilogue. */
More information about the Gcc-patches
mailing list