summaryrefslogtreecommitdiff
path: root/gcc/sched-deps.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-13 18:08:19 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-13 18:08:19 +0000
commit8ea0810afac1280bdda088fc469a5937ab9e37f5 (patch)
treeb7ea3826c56cd8e8c9754c91e848052348f46a09 /gcc/sched-deps.c
parent0a5003756c4e7b8a85bd5aa8ad45d851fc94bc29 (diff)
downloadgcc-8ea0810afac1280bdda088fc469a5937ab9e37f5.tar.gz
* sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn
notes, they are emitted only just before final. * sched-int.h: Include insn-attr.h before checking INSN_SCHEDULING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197945 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r--gcc/sched-deps.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index 07857f2d6bf..fde684fec3a 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -3680,12 +3680,6 @@ deps_analyze_insn (struct deps_desc *deps, rtx insn)
if (sched_deps_info->use_cselib)
cselib_process_insn (insn);
- /* EH_REGION insn notes can not appear until well after we complete
- scheduling. */
- if (NOTE_P (insn))
- gcc_assert (NOTE_KIND (insn) != NOTE_INSN_EH_REGION_BEG
- && NOTE_KIND (insn) != NOTE_INSN_EH_REGION_END);
-
if (sched_deps_info->finish_insn)
sched_deps_info->finish_insn ();