projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
re PR debug/66691 (ICE on valid code at -O3 with -g enabled in simplify_subreg, at...
[gcc.git]
/
gcc
/
modulo-sched.c
diff --git
a/gcc/modulo-sched.c
b/gcc/modulo-sched.c
index db76095fb65bba7a4f1e4d0a6976365f1399e8cc..60b39f81d180f13f77462956c0fae446d3b4bf39 100644
(file)
--- a/
gcc/modulo-sched.c
+++ b/
gcc/modulo-sched.c
@@
-2006,9
+2006,7
@@
get_sched_window (partial_schedule_ptr ps, ddg_node_ptr u_node,
node close to its successors. */
if (pss_not_empty && count_succs >= count_preds)
{
- int tmp = end;
- end = start;
- start = tmp;
+ std::swap (start, end);
step = -1;
}