aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-07-13 09:46:37 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-07-13 09:46:37 +0000
commitf1b9b669f5abdbf2aac0973d7975ddd54d5d35ed (patch)
tree1fe8ab9c59f45e0730f003a6a53dbc472fd41f72 /gcc/omp-low.c
parent63631f7d15d7b774935a27e0d87b5ee71fbd9630 (diff)
downloadgcc-f1b9b669f5abdbf2aac0973d7975ddd54d5d35ed.zip
gcc-f1b9b669f5abdbf2aac0973d7975ddd54d5d35ed.tar.gz
gcc-f1b9b669f5abdbf2aac0973d7975ddd54d5d35ed.tar.bz2
Mark *.omp_data_i as non-trapping
2015-07-13 Tom de Vries <tom@codesourcery.com> * omp-low.c (build_receiver_ref): Mark *.omp_data_i as non-trapping. From-SVN: r225731
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r--gcc/omp-low.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 22848a0..3135606 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -1127,6 +1127,7 @@ build_receiver_ref (tree var, bool by_ref, omp_context *ctx)
field = x;
x = build_simple_mem_ref (ctx->receiver_decl);
+ TREE_THIS_NOTRAP (x) = 1;
x = omp_build_component_ref (x, field);
if (by_ref)
x = build_simple_mem_ref (x);