diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-06 23:20:38 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-06 23:20:38 +0000 |
commit | 3371ef4ccd343a12d5fd95e64f1b88c7e92869f3 (patch) | |
tree | 61c301e2aa0d10ae59e6ccaf90cb169fa48b8a84 /gcc/haifa-sched.c | |
parent | b34f5003bbc35faea8dc17726ee2b270cf46560e (diff) | |
download | gcc-3371ef4ccd343a12d5fd95e64f1b88c7e92869f3.tar.gz |
PR middle-end/33670
* haifa-sched.c (check_sched_flags): Remove.
(sched_init): Don't call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129948 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 38d013672dc..6e56e9e8ea8 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -582,7 +582,6 @@ static void add_jump_dependencies (rtx, rtx); #ifdef ENABLE_CHECKING static int has_edge_p (VEC(edge,gc) *, int); static void check_cfg (rtx, rtx); -static void check_sched_flags (void); #endif #endif /* INSN_SCHEDULING */ @@ -2692,9 +2691,6 @@ sched_init (void) else /* So we won't read anything accidentally. */ spec_info = 0; -#ifdef ENABLE_CHECKING - check_sched_flags (); -#endif } else /* So we won't read anything accidentally. */ @@ -4517,20 +4513,6 @@ check_cfg (rtx head, rtx tail) gcc_assert (bb == 0); } - -/* Perform a few consistency checks of flags in different data structures. */ -static void -check_sched_flags (void) -{ - unsigned int f = current_sched_info->flags; - - if (flag_sched_stalled_insns) - gcc_assert (!(f & DO_SPECULATION)); - if (f & DO_SPECULATION) - gcc_assert (!flag_sched_stalled_insns - && spec_info - && spec_info->mask); -} #endif /* ENABLE_CHECKING */ #endif /* INSN_SCHEDULING */ |