Commit 1afdf91c by Richard Henderson Committed by Richard Henderson

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
parent d02c69be
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):
......
/* 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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment