diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-07-13 09:46:37 +0000 |
---|---|---|
committer | Tom de Vries <tom@codesourcery.com> | 2015-07-13 09:46:37 +0000 |
commit | 87a9fc3ceb5cb9de45775c1a9edb9866bcda0960 (patch) | |
tree | 1fe8ab9c59f45e0730f003a6a53dbc472fd41f72 | |
parent | 7307cf6eb6c5b20db9ed023c337b7a4fd89628e1 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@225731 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/omp-low.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ccde3b7b88a..f600ce3db0c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-07-13 Tom de Vries <tom@codesourcery.com> + + * omp-low.c (build_receiver_ref): Mark *.omp_data_i as non-trapping. + 2015-07-13 Renlin Li <renlin.li@arm.com> PR rtl/66556 diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 22848a0a324..313560633f6 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); |