PR middle-end/79236
commit9cf7bec9b246765fe6d37b82e41dbd71bbce01f8
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jan 2017 11:05:03 +0000 (26 11:05 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jan 2017 11:05:03 +0000 (26 11:05 +0000)
tree10998d776c93f5205116cccd29a4e86b287cae88
parent826d93b2ded7a3f86246027136bf2b0faa2236fa
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244924 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c