This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patches] Re: [bugs] Another ICE
Hi,
Here is another patch for same problem. I've benchmarked it briefly and it don't seems
to cause any measurable changes in compilation time on i386.
Thu May 31 18:57:11 CEST 2001 Jan Hubicka <jh@suse.cz>
* flow.c (set_block_for_new_insns): Remove bogus shortcut.
Index: flow.c
===================================================================
RCS file: /home/cvs/Repository/gcc/gcc/flow.c,v
retrieving revision 1.16
diff -c -3 -p -r1.16 flow.c
*** flow.c 2001/05/03 15:57:38 1.16
--- flow.c 2001/05/31 15:57:04
*************** set_block_for_new_insns (insn, bb)
*** 6710,6721 ****
{
set_block_for_insn (insn, bb);
- /* We dont scan to set the block to 0 since this is the default value.
- If we did, we'd end up scanning/setting the entire prologue block
- everytime we insert an insn into it. */
- if (bb->index == 0)
- return;
-
/* Scan the previous instructions setting the block number until we find
an instruction that has the block number set, or we find a note
of any kind. */
--- 6710,6715 ----