]> git.ipfire.org Git - people/ms/gcc.git/commit
OpenMP: Fix folding with simd's linear clause [PR106492]
authorTobias Burnus <tobias@codesourcery.com>
Tue, 9 Aug 2022 05:57:40 +0000 (07:57 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 9 Aug 2022 05:57:40 +0000 (07:57 +0200)
commit8a16b9f983824b6b9a25275cd23b6bba8c98b800
tree2cc829b55a533c2f350c0d986e47c6284a9d1370
parent5f17badb648980275ff4c86b0c207dbd751b00f2
OpenMP: Fix folding with simd's linear clause [PR106492]

gcc/ChangeLog:

PR middle-end/106492
* omp-low.cc (lower_rec_input_clauses): Add missing folding
to data type of linear-clause list item.

gcc/testsuite/ChangeLog:

PR middle-end/106492
* g++.dg/gomp/pr106492.C: New test.
gcc/omp-low.cc
gcc/testsuite/g++.dg/gomp/pr106492.C [new file with mode: 0644]