aboutsummaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-03-30 14:26:19 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2002-03-30 13:26:19 +0000
commit1540f9ebc44746587921098f337cfac4916aa285 (patch)
tree12369072c4ba8d9aa884e9c5cd3c573fb0e9abc2 /gcc/local-alloc.c
parentd83975041fbb3eb13524c5f8af1743e5e11c8f9e (diff)
downloadgcc-1540f9ebc44746587921098f337cfac4916aa285.zip
gcc-1540f9ebc44746587921098f337cfac4916aa285.tar.gz
gcc-1540f9ebc44746587921098f337cfac4916aa285.tar.bz2
local-alloc.c (local_alloc): Avoid call of update_equiv_regs when not optimizing.
* local-alloc.c (local_alloc): Avoid call of update_equiv_regs when not optimizing. * toplev.c (rest_of_compilation): Cann mark_constant_function only when optimizing. * flow.c (calculate_global_regs_live): Ensure that all AUX fields are NULL. * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK. (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it. (try_optimize_cfg): clear all AUX fields. * i386.c (aligned_operand): Be prepared for SUBREGed registers. (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. (ix86_address_cost): Be prepared for SUBREGed registers. (legitimate_address_p): Accept SUBREGed registers. From-SVN: r51604
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index c44f368..4da7eac 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. */