Commit 21759881 by Dinar Temirbulatov Committed by Dinar Temirbulatov

revert: re PR rtl-optimization/57268 (c nested loops hang compiler in sched-deps.c)

2013-06-01  Dinar Temirbulatov  <dinar@kugelworks.com>

        Revert
        PR rtl-optimization/57268
        * sched-deps.c (sched_analyze_2): Flush dependence lists if
        the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH.

From-SVN: r199576
parent daf4e940
2013-06-01 Dinar Temirbulatov <dinar@kugelworks.com>
Revert
PR rtl-optimization/57268
* sched-deps.c (sched_analyze_2): Flush dependence lists if
the sum of the read and write lists exceeds MAX_PENDING_LIST_LENGTH.
2013-06-01 Tobias Burnus <burnus@net-b.de>
Partially reverted:
......
......@@ -2690,14 +2690,8 @@ sched_analyze_2 (struct deps_desc *deps, rtx x, rtx insn)
/* Always add these dependencies to pending_reads, since
this insn may be followed by a write. */
if (!deps->readonly)
{
if ((deps->pending_read_list_length
+ deps->pending_write_list_length)
> MAX_PENDING_LIST_LENGTH)
flush_pending_lists (deps, insn, true, true);
add_insn_mem_dependence (deps, true, insn, x);
}
if (!deps->readonly)
add_insn_mem_dependence (deps, true, insn, x);
sched_analyze_2 (deps, XEXP (x, 0), insn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment