Mark by_ref mem_ref in build_receiver_ref as non-trapping
2015-11-23 Tom de Vries <tom@codesourcery.com> * omp-low.c (build_receiver_ref): Mark by_ref mem_ref as non-trapping. From-SVN: r230738
This commit is contained in:
parent
7706cb01c0
commit
096b85f4b4
@ -1,3 +1,7 @@
|
||||
2015-11-23 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* omp-low.c (build_receiver_ref): Mark by_ref mem_ref as non-trapping.
|
||||
|
||||
2015-11-23 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/68445
|
||||
|
@ -1249,7 +1249,10 @@ build_receiver_ref (tree var, bool by_ref, omp_context *ctx)
|
||||
TREE_THIS_NOTRAP (x) = 1;
|
||||
x = omp_build_component_ref (x, field);
|
||||
if (by_ref)
|
||||
x = build_simple_mem_ref (x);
|
||||
{
|
||||
x = build_simple_mem_ref (x);
|
||||
TREE_THIS_NOTRAP (x) = 1;
|
||||
}
|
||||
|
||||
return x;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user