[PATCH] Rename alias_sets_might_conflict_p
Eric Botcazou
ebotcazou@adacore.com
Thu Jun 21 12:44:00 GMT 2007
Hi,
I think that the predicate is ill named, it should be "must", the "might"
version being:
/* Return 1 if the two specified alias sets may conflict. */
int
alias_sets_conflict_p (HOST_WIDE_INT set1, HOST_WIDE_INT set2)
This is consistent with the warnings issued in c-common.c by the C compiler.
No functiontal changes, lightly tested in i586-suse-linux, OK for mainline?
2007-06-21 Eric Botcazou <ebotcazou@adacore.com>
* tree.h (alias_sets_might_conflict_p): Rename into
alias_sets_must_conflict_p.
* alias.c (alias_sets_might_conflict_p): Likewise.
(objects_must_conflict_p): Use it.
* c-common.c (strict_aliasing_warning): Adjust.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alias_pred.diff
Type: text/x-diff
Size: 3483 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070621/00debb95/attachment.bin>
More information about the Gcc-patches
mailing list