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 PR36244, another ICE with alias recomputing after vectorization


On Thu, May 15, 2008 at 08:21, Richard Guenther <rguenther@suse.de> wrote:

> 2008-05-15  Richard Guenther  <rguenther@suse.de>
>
>        PR middle-end/36244
>        * tree-ssa-alias.c (new_type_alias): Do not set TREE_READONLY.
>        * tree-flow-inline.h (unmodifiable_var_p): Memory tags never
>        represent unmodifiable vars.
>
>        * gcc.dg/torture/pr36244.c: New testcase.

OK.

So, the only places where readonly-ness would matter is when adding
operands on VDEF operators.  The operand scanner already weeds out
read-only symbols from alias sets.


Diego.


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