aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb@suse.de>2004-11-24 11:32:24 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-11-24 11:32:24 +0000
commitf39e46bac1fa7fa916b9d415d323fa7353c5e91a (patch)
tree6b6bc6570ef7a0a4f2c302b560d0913867479133 /gcc/jump.c
parentb4345a57d828a55b70d6e5f5f4294c97c6acf304 (diff)
downloadgcc-f39e46bac1fa7fa916b9d415d323fa7353c5e91a.zip
gcc-f39e46bac1fa7fa916b9d415d323fa7353c5e91a.tar.gz
gcc-f39e46bac1fa7fa916b9d415d323fa7353c5e91a.tar.bz2
cfgrtl.c (rtl_delete_block): Fix comment.
* cfgrtl.c (rtl_delete_block): Fix comment. * emit-rtl.c (remove_unnecessary_notes): Die if we see BLOCK_BEG or BLOCK_END insn notes. * jump.c (squeeze_notes): Likewise. * haifa-sched.c (reemit_notes): Don't "re-emit" EH_REGION_BEG and EH_REGION_END notes, we never have them to begin with. * sched-deps.c (sched_analyze_insn): When updating loop notes, verify that we have indeed only recorded loop notes. (sched_analyze): Die if we see EH_REGION_BEG or EH_REGION_END notes. Only record loop notes. * cfgexpand.c (tree_expand_cfg): Fix comment. * passes.c (rest_of_compilation): Don't do a second call to convert_from_eh_region_ranges from here, it's already called from cfgexpand.c. * except.c (resolve_fixup_regions): Remove. (remove_fixup_regions): Remove. (convert_from_eh_region_ranges_1): Remove. (convert_from_eh_region_ranges): Remove the case where EH is not already lowered at the tree level. We always lower there. From-SVN: r91148
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 0378cf7..85c1f6b2 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -248,6 +248,10 @@ squeeze_notes (rtx* startp, rtx* endp)
|| NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_BEG
|| NOTE_LINE_NUMBER (insn) == NOTE_INSN_LOOP_END))
{
+ /* BLOCK_BEG or BLOCK_END notes only exist in the `final' pass. */
+ gcc_assert (NOTE_LINE_NUMBER (insn) != NOTE_INSN_BLOCK_BEG
+ && NOTE_LINE_NUMBER (insn) != NOTE_INSN_BLOCK_END);
+
if (insn == start)
start = next;
else