From 5a5c3debfede40be3bdfd5c03a4dbb3ad2d6db21 Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Wed, 24 Jun 2015 04:22:39 +0000 Subject: re PR target/65803 (blackfin: internal compiler error: segment fault linux kernel) PR target/65803 * config/bfin/bfin.c (hwloop_optimize): Initialize JUMP_LABEL for newly created jump. PR target/65803 * gcc.c-torture/pr65803.c: New test. From-SVN: r224866 --- gcc/config/bfin/bfin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/config') diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 3b4b54e..594272f 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -3775,7 +3775,9 @@ hwloop_optimize (hwloop_info loop) } else { - emit_jump_insn (gen_jump (label)); + rtx_insn *ret = emit_jump_insn (gen_jump (label)); + JUMP_LABEL (ret) = label; + LABEL_NUSES (label)++; seq_end = emit_barrier (); } } -- cgit v1.1