diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-10 15:34:19 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-10 15:34:19 +0000 |
commit | 7b424b94e3c6b471c4ec46a087ae48e7b25101e3 (patch) | |
tree | de7e9bc1b9ca097b5f65d733c4a876d244d13705 /gcc/tree-ssa-structalias.c | |
parent | 8afaf3bf2c5ef2b7a45c9f487171c07b425783df (diff) |
2017-04-10 Richard Biener <rguenther@suse.de>
* tree-ssa-structalias.c (find_func_aliases): Properly handle
asm inputs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246809 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index aab6821e792c..77736f511533 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -4944,14 +4944,14 @@ find_func_aliases (struct function *fn, gimple *origt) make_escape_constraint (build_fold_addr_expr (op)); /* The asm may read global memory, so outputs may point to - any global memory. */ + any global or escaped memory. */ if (op) { auto_vec<ce_s, 2> lhsc; struct constraint_expr rhsc, *lhsp; unsigned j; get_constraint_for (op, &lhsc); - rhsc.var = nonlocal_id; + rhsc.var = escaped_id; rhsc.offset = 0; rhsc.type = SCALAR; FOR_EACH_VEC_ELT (lhsc, j, lhsp) |