This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch]: Fix PR rtl-optimization/50448
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: "Georg-Johann Lay" <avr at gjlay dot de>
- Cc: Paolo Bonzini <bonzini at gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 5 Nov 2011 12:45:41 +0100
- Subject: Re: [Patch]: Fix PR rtl-optimization/50448
- References: <4EB275D8.5070209@gjlay.de> <4EB3B348.506@gnu.org> <4EB51CF5.3020002@gjlay.de>
> PR rtl-optimization/50448
> * cprop.c (try_replace_reg): Also try to replace uses of FROM that
> appear in SET_DEST.
OK if it passes testing, with s/addr/dest/ as addr isn't an address at all.
> IMO the head comment is still misleading because it might give rise to the
> assumption that SET_DESTs are replaced, too, which is not the case.
"use" is to be understood as opposed to "set" so SET_DEST itself is excluded.
--
Eric Botcazou