Commit c46f6580 by Steven Bosscher

sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn notes, they…

sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn notes, they are emitted only just before final.


	* 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.

From-SVN: r197945
parent 9c9c6199
2013-04-13 Steven Bosscher <steven@gcc.gnu.org>
* 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.
2013-04-13 Steven Bosscher <steven@gcc.gnu.org>
* emit-rtl.c (remove_insn): Do not call df_insn_delete here.
* cfgrtl.c (delete_insn): Call it here instead.
* lra-spills.c (lra_final_code_change): Use delete_insn.
......
......@@ -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 ();
......
......@@ -21,10 +21,10 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_SCHED_INT_H
#define GCC_SCHED_INT_H
#include "insn-attr.h"
#ifdef INSN_SCHEDULING
/* For state_t. */
#include "insn-attr.h"
#include "df.h"
#include "basic-block.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment