re PR rtl-optimization/85458 (FAIL: gcc.dg/pr83480.c (internal compiler error))
PR rtl-optimization/85458 * sel-sched.c (sel_target_adjust_priority): Allow backend adjust priority hook to reduce the priority of EXPR. From-SVN: r264168
This commit is contained in:
parent
07eef95282
commit
208121b583
@ -1,3 +1,9 @@
|
|||||||
|
2018-09-08 John David Anglin <danglin@gcc.gnu.org>
|
||||||
|
|
||||||
|
PR rtl-optimization/85458
|
||||||
|
* sel-sched.c (sel_target_adjust_priority): Allow backend adjust
|
||||||
|
priority hook to reduce the priority of EXPR.
|
||||||
|
|
||||||
2018-09-07 Uros Bizjak <ubizjak@gmail.com>
|
2018-09-07 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
* config/i386/i386.md (float<SWI48x:mode><MODEF:mode>2) Enable
|
* config/i386/i386.md (float<SWI48x:mode><MODEF:mode>2) Enable
|
||||||
|
@ -3330,11 +3330,11 @@ sel_target_adjust_priority (expr_t expr)
|
|||||||
else
|
else
|
||||||
new_priority = priority;
|
new_priority = priority;
|
||||||
|
|
||||||
|
gcc_assert (new_priority >= 0);
|
||||||
|
|
||||||
/* If the priority has changed, adjust EXPR_PRIORITY_ADJ accordingly. */
|
/* If the priority has changed, adjust EXPR_PRIORITY_ADJ accordingly. */
|
||||||
EXPR_PRIORITY_ADJ (expr) = new_priority - EXPR_PRIORITY (expr);
|
EXPR_PRIORITY_ADJ (expr) = new_priority - EXPR_PRIORITY (expr);
|
||||||
|
|
||||||
gcc_assert (EXPR_PRIORITY_ADJ (expr) >= 0);
|
|
||||||
|
|
||||||
if (sched_verbose >= 4)
|
if (sched_verbose >= 4)
|
||||||
sel_print ("sel_target_adjust_priority: insn %d, %d+%d = %d.\n",
|
sel_print ("sel_target_adjust_priority: insn %d, %d+%d = %d.\n",
|
||||||
INSN_UID (EXPR_INSN_RTX (expr)), EXPR_PRIORITY (expr),
|
INSN_UID (EXPR_INSN_RTX (expr)), EXPR_PRIORITY (expr),
|
||||||
|
Loading…
Reference in New Issue
Block a user