This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
flow delete_block typo
- To: gcc-patches at gcc dot gnu dot org
- Subject: flow delete_block typo
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 21 Mar 2000 23:14:20 -0800
Had a small typo in this change
2000-03-19 Richard Henderson <rth@cygnus.com>
* flow.c (delete_block): Delete the addr_vec along with the block.
(flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
reference labels.
that prevented the fix from working on x86, though for some
reason it did work for alpha.
Bootstrapped i586-pc-linux-gnu.
r~
* flow.c (delete_block): Fix typo last change.
Index: flow.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/flow.c,v
retrieving revision 1.239
diff -c -p -d -r1.239 flow.c
*** flow.c 2000/03/19 11:30:38 1.239
--- flow.c 2000/03/22 07:10:03
*************** delete_block (b)
*** 1913,1919 ****
end = tmp;
/* Include any barrier that may follow the basic block. */
! tmp = next_nonnote_insn (b->end);
if (tmp && GET_CODE (tmp) == BARRIER)
end = tmp;
--- 1913,1919 ----
end = tmp;
/* Include any barrier that may follow the basic block. */
! tmp = next_nonnote_insn (end);
if (tmp && GET_CODE (tmp) == BARRIER)
end = tmp;