This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: Fix PR rtl-optimization/50448


> 	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]