Commit a2a2fe4b by Richard Biener Committed by Richard Biener

re PR tree-optimization/63844 (open mp parallelization prevents vectorization)

2014-11-19  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/63844
	* omp-low.c (fixup_child_record_type): Use a restrict qualified
	referece type for the receiver parameter.

From-SVN: r217757
parent 6df34b29
2014-11-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/63844
* omp-low.c (fixup_child_record_type): Use a restrict qualified
referece type for the receiver parameter.
2014-11-19 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/63913
......@@ -1517,7 +1517,8 @@ fixup_child_record_type (omp_context *ctx)
layout_type (type);
}
TREE_TYPE (ctx->receiver_decl) = build_pointer_type (type);
TREE_TYPE (ctx->receiver_decl)
= build_qualified_type (build_reference_type (type), TYPE_QUAL_RESTRICT);
}
/* Instantiate decls as necessary in CTX to satisfy the data sharing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment