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
This commit is contained in:
Tom de Vries 2015-07-13 09:46:37 +00:00 committed by Tom de Vries
parent 63631f7d15
commit f1b9b669f5
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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);