This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove some #if 0 code from dbr_schedule
- From: Ian Lance Taylor <ian at airs dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: 22 Mar 2005 23:18:26 -0500
- Subject: Remove some #if 0 code from dbr_schedule
This code in dbr_schedule has been commented out since at least 1991.
It has been commented out in every official gcc release which had
reorg.c. I think it's time to remove it from the sources.
Tested by rebuilding gcc. OK to commit?
Ian
2005-03-22 Ian Lance Taylor <ian@airs.com>
* reorg.c (dbr_schedule): Remove #if 0 code to call final.
Index: reorg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/reorg.c,v
retrieving revision 1.105
diff -p -u -r1.105 reorg.c
--- reorg.c 7 Mar 2005 15:46:59 -0000 1.105
+++ reorg.c 23 Mar 2005 04:07:02 -0000
@@ -3582,17 +3582,6 @@ dbr_schedule (rtx first, FILE *file)
{
rtx insn, next, epilogue_insn = 0;
int i;
-#if 0
- int old_flag_no_peephole = flag_no_peephole;
-
- /* Execute `final' once in prescan mode to delete any insns that won't be
- used. Don't let final try to do any peephole optimization--it will
- ruin dataflow information for this pass. */
-
- flag_no_peephole = 1;
- final (first, 0, NO_DEBUG, 1, 1);
- flag_no_peephole = old_flag_no_peephole;
-#endif
/* If the current function has no insns other than the prologue and
epilogue, then do not try to fill any delay slots. */