diff options
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index c44f3686bb8..4da7eac849a 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -352,7 +352,8 @@ local_alloc () /* Promote REG_EQUAL notes to REG_EQUIV notes and adjust status of affected registers. */ - update_equiv_regs (); + if (optimize) + update_equiv_regs (); /* This sets the maximum number of quantities we can have. Quantity numbers start at zero and we can have one for each pseudo. */ |