summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-02 23:23:19 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-02 23:23:19 +0000
commitf48db028cd0ad9b494077d94d25177ace54a1a49 (patch)
tree358f99687b482e875ac8ae4c6f0ef68177bd0c7e
parent6d60907888b6d9051f6dd0a3e0a47c13659c2ecc (diff)
downloadgcc-f48db028cd0ad9b494077d94d25177ace54a1a49.tar.gz
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: svn+ssh://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);
}
}