This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove bogus optimization from may_alias_p
> Index: tree-ssa-alias-warnings.c
> ===================================================================
> --- tree-ssa-alias-warnings.c (revision 141264)
> +++ tree-ssa-alias-warnings.c (working copy)
> @@ -896,7 +896,7 @@ skip_this_pointer (tree ptr ATTRIBUTE_UN
> return true;
>
> /* This would probably cause too many false positives. */
> - if (pi->value_escapes_p || pi->pt_anything)
> + if (pi->value_escapes_p || pi->pt_anything || pi->pt_global_mem)
> return true;
>
> return false;
Do you plan to install it or...?
--
Eric Botcazou