re PR middle-end/79236 (Many libgomp tests fail if configured with --enable-offload...
authorJakub Jelinek <jakub@redhat.com>
Thu, 26 Jan 2017 11:05:03 +0000 (12:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 26 Jan 2017 11:05:03 +0000 (12:05 +0100)
commit6e6cf7b08a65d22bd2b29ab97a3c01c4f646b21d
tree10998d776c93f5205116cccd29a4e86b287cae88
parentebff5c3f80a14e07a0507166fe8a42014fe72f6e
re PR middle-end/79236 (Many libgomp tests fail if configured with --enable-offload-targets=nvptx-none but NVidia HW or libcuda.so.1 unavailable)

PR middle-end/79236
* omp-low.c (struct omp_context): Add simt_stmt field.
(scan_omp_for): Return omp_context *.
(scan_omp_simd): Set simt_stmt on the non-_simt_ SIMD
context to the _simt_ SIMD stmt.
(lower_omp_for): For combined SIMD with sibling _simt_
SIMD, make sure to use the same decls in _looptemp_
clauses as in the sibling.

From-SVN: r244924
gcc/ChangeLog
gcc/omp-low.c