------- Comment #3 from razya at il dot ibm dot com  2008-05-15 11:15 -------
(In reply to comment #2)
> Pragmatic fix:
> Index: tree-ssa-alias.c
> ===================================================================
> --- tree-ssa-alias.c    (revision 135330)
> +++ tree-ssa-alias.c    (working copy)
> @@ -3672,7 +3672,8 @@ new_type_alias (tree ptr, tree var, tree
>      }
>    set_symbol_mem_tag (ptr, ali);
> -  TREE_READONLY (tag) = TREE_READONLY (var);
> +  /* We cannot set TREE_READONLY on the new tag as this conflicts with
> +     propagating call clobbered info.  */
>    MTAG_GLOBAL (tag) = is_global_var (var);
>  }

The benchmarks now pass... Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36244

Reply via email to