diff options
Diffstat (limited to 'gcc-4.6/gcc/postreload.c')
-rw-r--r-- | gcc-4.6/gcc/postreload.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc-4.6/gcc/postreload.c b/gcc-4.6/gcc/postreload.c index a423410..c4d5ef0 100644 --- a/gcc-4.6/gcc/postreload.c +++ b/gcc-4.6/gcc/postreload.c @@ -1310,7 +1310,8 @@ reload_combine (void) is and then later disable any optimization that would cross it. */ if (LABEL_P (insn)) last_label_ruid = reload_combine_ruid; - else if (BARRIER_P (insn)) + else if (BARRIER_P (insn) + || (INSN_P (insn) && volatile_insn_p (PATTERN (insn)))) for (r = 0; r < FIRST_PSEUDO_REGISTER; r++) if (! fixed_regs[r]) reg_state[r].use_index = RELOAD_COMBINE_MAX_USES; |