------- Comment #2 from rguenth at gcc dot gnu dot org 2008-05-15 10:32 ------- 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); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36244