Replace make_copy_constraint with make_constraint_from in make_restrict_var_constraints
authorTom de Vries <tom@codesourcery.com>
Mon, 2 Nov 2015 23:23:19 +0000 (23:23 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 2 Nov 2015 23:23:19 +0000 (23:23 +0000)
2015-11-03  Tom de Vries  <tom@codesourcery.com>

* tree-ssa-structalias.c (make_restrict_var_constraints): Replace
make_copy_constraint call with make_constraint_from call.

From-SVN: r229683

gcc/ChangeLog
gcc/tree-ssa-structalias.c

index aa22a17..5e4a226 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-03  Tom de Vries  <tom@codesourcery.com>
+
+       * tree-ssa-structalias.c (make_restrict_var_constraints): Replace
+       make_copy_constraint call with make_constraint_from call.
+
 2015-11-02  Andreas Tobler  <andreast@gcc.gnu.org>
 
        * config/rs6000/freebsd64.h (ASM_SPEC32): Adust spec to handle
index 55f72a2..773731d 100644 (file)
@@ -5890,7 +5890,7 @@ make_restrict_var_constraints (varinfo_t vi)
        if (vi->only_restrict_pointers)
          make_constraint_from_global_restrict (vi, "GLOBAL_RESTRICT", true);
        else
-         make_copy_constraint (vi, nonlocal_id);
+         make_constraint_from (vi, nonlocal_id);
       }
 }