This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] More REG_EQ* notes cleanups
- From: "Roger Sayle" <roger at eyesopen dot com>
- To: "Steven Bosscher" <stevenb dot gcc at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, zadeck at naturalbridge dot com
- Date: Sun, 11 Feb 2007 11:10:10 -0700 (MST)
- Subject: Re: [PATCH] More REG_EQ* notes cleanups
- References: <200702111443.33920.steven.bosscher@gmail.com>
On Sun, February 11, 2007 6:43 am, Steven Bosscher wrote:
> * fwprop.c (try_fwprop_subst): Use set_unique_reg_note
> to add the REG_EQ* note.
> * see.c (see_merge_one_use_extension): Likewise.
> * local-alloc.c (update_equiv_regs): Likewise. Also don't
> turn REG_EQUAL notes into REG_EQUIV notes if the target
> register may have more than one set.
> * function.c (assign_parm_setup_reg): Use set_unique_reg_note.
> * gcse.c (try_replace_reg): Likewise.
> * alias.c (init_alias_analysis): Use find_reg_equal_equiv_note.
> * calls.c (fixup_tail_calls): Likewise. Abort if there is
> more than one REG_EQUIV note.
> * reload1.c (gen_reload): Use set_unique_reg_note.
This is OK for mainline. Thanks.
There's a remote possibility that doing a better job of tracking REG_EQUAL
and REG_EQUIV notes may expose latent RTL bugs elsewhere, but hopefully
folks will let us know if there's any fallout.
Thanks again,
Roger
--