------- Comment #12 from pinskia at gcc dot gnu dot org  2006-01-26 18:15 
-------
This is the patch which helps the call clobering but does not fix it all the
way (because a different call clobbering issue):
Index: tree-ssa-alias.c
===================================================================
--- tree-ssa-alias.c    (revision 110263)
+++ tree-ssa-alias.c    (working copy)
@@ -328,7 +328,8 @@ set_initial_properties (struct alias_inf
        }
       else if (TREE_CODE (var) == PARM_DECL
               && default_def (var)
-              && POINTER_TYPE_P (TREE_TYPE (var)))
+              && POINTER_TYPE_P (TREE_TYPE (var))
+              && flag_argument_noalias > 1)
        {
          tree def = default_def (var);
          get_ptr_info (def)->value_escapes_p = 1;


-- 


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

Reply via email to