This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Avoid some more REG_EQUAL ASM_OPERANDS notes
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] Avoid some more REG_EQUAL ASM_OPERANDS notes
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 29 Oct 2001 09:19:20 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20011029153717.F22496@sunsite.ms.mff.cuni.cz>
On Mon, Oct 29, 2001 at 03:37:17PM +0100, Jakub Jelinek wrote:
> * gcse.c (try_replace_reg): Don't create REG_EQUAL notes for
> ASM_OPERANDS.
>
> * gcc.dg/20011029-2.c: New test.
Hmm. Conceptually ok.
We should codify what is OK to have in a REG_EQUAL note and centralize
that knowledge in a function, rather than open-coding in multiple places.
r~