This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC][4.4] Add may-alias oracle, make SCCVN use it
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 6 Dec 2007 15:11:42 +0100
- Subject: Re: [PATCH][RFC][4.4] Add may-alias oracle, make SCCVN use it
- References: <Pine.LNX.4.64.0712061448250.11439@zhemvz.fhfr.qr>
> + /* Return true, if the two memory references REF1 and REF2 must alias.
> */ +
> + bool
> + refs_must_alias_p (tree ref1, tree ref2)
> + {
> + return operand_equal_p (ref1, ref2, 0);
> + }
Why not use alias_sets_must_conflict_p here?
--
Eric Botcazou