This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix clear_log_links thinko
- To: gcc-patches at gcc dot gnu dot org
- Subject: fix clear_log_links thinko
- From: Richard Henderson <rth at twiddle dot net>
- Date: Mon, 22 Oct 2001 00:10:52 -0700
Fixes
.../libjava/java/net/URL.java:406: Internal error: Segmentation fault
r~
* flow.c (clear_log_links): Use free_INSN_LIST_list, not
free_EXPR_LIST_list for LOG_LINKS.
Index: flow.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/flow.c,v
retrieving revision 1.485
diff -u -p -r1.485 flow.c
--- flow.c 2001/10/20 10:03:51 1.485
+++ flow.c 2001/10/22 07:08:27
@@ -4113,7 +4113,7 @@ clear_log_links (blocks)
rtx insn;
for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
if (INSN_P (insn))
- free_EXPR_LIST_list (&LOG_LINKS (insn));
+ free_INSN_LIST_list (&LOG_LINKS (insn));
}
else
EXECUTE_IF_SET_IN_SBITMAP (blocks, 0, i,
@@ -4123,7 +4123,7 @@ clear_log_links (blocks)
for (insn = bb->head; insn != NEXT_INSN (bb->end);
insn = NEXT_INSN (insn))
if (INSN_P (insn))
- free_EXPR_LIST_list (&LOG_LINKS (insn));
+ free_INSN_LIST_list (&LOG_LINKS (insn));
});
}