haifa-sched.c (schedule_block): Fix thinko in previous assertification patch.
authorNathan Sidwell <nathan@codesourcery.com>
Sat, 23 Apr 2005 08:47:17 +0000 (08:47 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sat, 23 Apr 2005 08:47:17 +0000 (08:47 +0000)
* haifa-sched.c (schedule_block): Fix thinko in previous
assertification patch.

From-SVN: r98606

gcc/ChangeLog
gcc/haifa-sched.c

index a0a8dfb015d72b4edcb1c3ec3aee08acaef6f302..b2b236af561cf2e8d7cd1521f157e2609d9699f9 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-23  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * haifa-sched.c (schedule_block): Fix thinko in previous
+       assertification patch.
+
 2005-04-23  Richard Sandiford  <rsandifo@redhat.com>
 
        * config.gcc (hppa[12]*-*-hpux10*): Add pa/pa-hpux.opt to
index bb8a91716147f1c3e745f15413db2a700febdb20..b307bd44533c3ecc4eb45170aeeeb6acd0ef949e 100644 (file)
@@ -2108,7 +2108,7 @@ schedule_block (int b, int rgn_n_insns)
 
   /* Sanity check -- queue must be empty now.  Meaningless if region has
      multiple bbs.  */
-  gcc_assert (!current_sched_info->queue_must_finish_empty || q_size);
+  gcc_assert (!current_sched_info->queue_must_finish_empty || !q_size);
 
   /* Update head/tail boundaries.  */
   head = NEXT_INSN (prev_head);