aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-11-02 23:23:19 +0000
committerTom de Vries <tom@codesourcery.com>2015-11-02 23:23:19 +0000
commit4eba3da6d069176f5b0940839d025e6b8029a7c4 (patch)
tree358f99687b482e875ac8ae4c6f0ef68177bd0c7e
parentb78646832754177b89d91b70fab602c242e1cbc5 (diff)
Replace make_copy_constraint with make_constraint_from in make_restrict_var_constraints
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@229683 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-structalias.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aa22a1798ae..5e4a2268abf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 55f72a2b91f..773731d0feb 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -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);
}
}