aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2004-09-30 23:25:52 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2004-09-30 21:25:52 +0000
commita71024790309f81fdcf38e5150f081b300acd3b1 (patch)
treedae06d9ce92a27f5d915c142bf46cfdc29dea973 /gcc/gcse.c
parent9108699053ebb8ac2493f3f9efa97d1e228182f5 (diff)
downloadgcc-a71024790309f81fdcf38e5150f081b300acd3b1.zip
gcc-a71024790309f81fdcf38e5150f081b300acd3b1.tar.gz
gcc-a71024790309f81fdcf38e5150f081b300acd3b1.tar.bz2
re PR debug/13974 (bad line marker in debug info)
PR debug/13974 * cfgrtl.c (try_redirect_by_replacing_jump, force_nonfallthru_and_redirect, commit_one_edge_insertion, cfg_layout_merge_blocks): Do not attach any line number information to newly inserted instructions. * emit-rtl.c (emit_insn*_before, emit_insn*_after): Rename to emit_insn_*_noloc. (emit_*insn_before, emit_insn*_after): New. (emit_*insn_before_setloc, emit_*insn_after_setloc): Do not overwrite existing locators. * rtl.h (emit_*insn_before_noloc, emit_*insn_after_noloc): Declare. (emit_*insn_before_sameloc, emit_*insn_after_sameloc): Kill. From-SVN: r88358
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 9250f12..1370be1 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -4108,7 +4108,7 @@ insert_insn_end_bb (struct expr *expr, basic_block bb, int pre)
}
#endif
/* FIXME: What if something in cc0/jump uses value set in new insn? */
- new_insn = emit_insn_before (pat, insn);
+ new_insn = emit_insn_before_noloc (pat, insn);
}
/* Likewise if the last insn is a call, as will happen in the presence
@@ -4146,10 +4146,10 @@ insert_insn_end_bb (struct expr *expr, basic_block bb, int pre)
|| NOTE_INSN_BASIC_BLOCK_P (insn))
insn = NEXT_INSN (insn);
- new_insn = emit_insn_before (pat, insn);
+ new_insn = emit_insn_before_noloc (pat, insn);
}
else
- new_insn = emit_insn_after (pat, insn);
+ new_insn = emit_insn_after_noloc (pat, insn);
while (1)
{
@@ -6190,7 +6190,7 @@ insert_insn_start_bb (rtx insn, basic_block bb)
before = NEXT_INSN (before);
}
- insn = emit_insn_after (insn, prev);
+ insn = emit_insn_after_noloc (insn, prev);
if (gcse_file)
{