diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-20 22:01:47 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-20 22:01:47 +0000 |
commit | 8058bf10e80b997a58553aef8e93082c49f3a356 (patch) | |
tree | 5bd12ac0f0abf250ba7c4552417e37831ad38c73 /gcc/haifa-sched.c | |
parent | 27484e1082ff8cc620967723a8d7487448abd830 (diff) | |
download | gcc-8058bf10e80b997a58553aef8e93082c49f3a356.tar.gz |
PR bootstrap/54643
* haifa-sched.c (schedule_block): Skip find_modifiable_mems if using
SCHED_PRESSURE_MODEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191595 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index d63c4578893..8072beb85ff 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -5854,7 +5854,8 @@ schedule_block (basic_block *target_bb) rtx head = NEXT_INSN (prev_head); rtx tail = PREV_INSN (next_tail); - if ((current_sched_info->flags & DONT_BREAK_DEPENDENCIES) == 0) + if ((current_sched_info->flags & DONT_BREAK_DEPENDENCIES) == 0 + && sched_pressure != SCHED_PRESSURE_MODEL) find_modifiable_mems (head, tail); /* We used to have code to avoid getting parameters moved from hard |