From: Alexander Monakov Date: Thu, 9 May 2019 18:13:28 +0000 (+0300) Subject: sel-sched: allow negative insn priority (PR 88879) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41a4d47581db409213d887c41dd914165b802419;p=gcc.git sel-sched: allow negative insn priority (PR 88879) PR rtl-optimization/88879 * sel-sched.c (sel_target_adjust_priority): Remove assert. From-SVN: r271039 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b761d0a478d..aebd83041a7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-05-09 Alexander Monakov + + PR rtl-optimization/88879 + * sel-sched.c (sel_target_adjust_priority): Remove assert. + 2019-05-09 Richard Earnshaw PR target/90405 diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index f6e94bfc15c..f127ff74599 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -3331,8 +3331,6 @@ sel_target_adjust_priority (expr_t expr) else new_priority = priority; - gcc_assert (new_priority >= 0); - /* If the priority has changed, adjust EXPR_PRIORITY_ADJ accordingly. */ EXPR_PRIORITY_ADJ (expr) = new_priority - EXPR_PRIORITY (expr);