mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 18:40:06 +08:00
alias.c (find_base_value): Only use new_reg_base_value shortcut if the register is set once.
* alias.c (find_base_value): Only use new_reg_base_value shortcut if the register is set once. From-SVN: r61017
This commit is contained in:
parent
d02c69bed7
commit
1afdf91c83
@ -1,3 +1,8 @@
|
||||
2003-01-07 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* alias.c (find_base_value): Only use new_reg_base_value shortcut
|
||||
if the register is set once.
|
||||
|
||||
2003-01-07 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
|
||||
|
||||
* config/i386/i386.c (ix86_init_mmx_sse_builtins):
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* Alias analysis for GNU C
|
||||
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||
Free Software Foundation, Inc.
|
||||
Contributed by John Carr (jfc@mit.edu).
|
||||
|
||||
This file is part of GCC.
|
||||
@ -787,7 +788,8 @@ find_base_value (src)
|
||||
{
|
||||
/* If we're inside init_alias_analysis, use new_reg_base_value
|
||||
to reduce the number of relaxation iterations. */
|
||||
if (new_reg_base_value && new_reg_base_value[regno])
|
||||
if (new_reg_base_value && new_reg_base_value[regno]
|
||||
&& REG_N_SETS (regno) == 1)
|
||||
return new_reg_base_value[regno];
|
||||
|
||||
if (reg_base_value[regno])
|
||||
|
Loading…
Reference in New Issue
Block a user