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
+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
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;
}