From: vries Date: Mon, 13 Jul 2015 09:46:37 +0000 (+0000) Subject: Mark *.omp_data_i as non-trapping X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75c20a2e770fba5344559a3d9e2baf703bcb70ce;p=thirdparty%2Fgcc.git Mark *.omp_data_i as non-trapping 2015-07-13 Tom de Vries * omp-low.c (build_receiver_ref): Mark *.omp_data_i as non-trapping. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225731 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ccde3b7b88ac..f600ce3db0ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-07-13 Tom de Vries + + * omp-low.c (build_receiver_ref): Mark *.omp_data_i as non-trapping. + 2015-07-13 Renlin Li PR rtl/66556 diff --git a/gcc/omp-low.c b/gcc/omp-low.c index 22848a0a324d..313560633f66 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);