From 41a4d47581db409213d887c41dd914165b802419 Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Thu, 9 May 2019 21:13:28 +0300 Subject: [PATCH] sel-sched: allow negative insn priority (PR 88879) PR rtl-optimization/88879 * sel-sched.c (sel_target_adjust_priority): Remove assert. From-SVN: r271039 --- gcc/ChangeLog | 5 +++++ gcc/sel-sched.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) 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); -- 2.30.2