Small haifa-sched.c cleanup
Thomas Koenig
ig25@mvmap66.ciw.uni-karlsruhe.de
Tue Sep 30 12:41:00 GMT 1997
Here's a small fix for haifa-sched.c which eliminates an unneeded
initialization. As can be seen from the patch, head and tail are both
initialized a little bit further down, so the initialization at the
beginning is wrong.
[Do I really need a ChangeLog entry for this kind of stuff? If so, here
it is]
Tue Sep 30 21:38:51 CEST 1997
* haifa-sched.c: (get_block_head_tail) Remove unneeded initialization
from beginning
--- haifa-sched.c.orig Tue Sep 30 21:18:31 1997
+++ haifa-sched.c Tue Sep 30 21:18:51 1997
@@ -4808,16 +4808,16 @@
__inline static void
get_block_head_tail (bb, headp, tailp)
int bb;
rtx *headp;
rtx *tailp;
{
- rtx head = *headp;
- rtx tail = *tailp;
+ rtx head;
+ rtx tail;
int b;
b = BB_TO_BLOCK (bb);
/* HEAD and TAIL delimit the basic block being scheduled. */
head = basic_block_head[b];
tail = basic_block_end[b];
More information about the Gcc
mailing list