re PR middle-end/72781 (-Wuninitialized false positives in OpenMP code)
authorJakub Jelinek <jakub@redhat.com>
Mon, 8 Aug 2016 19:46:36 +0000 (21:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 8 Aug 2016 19:46:36 +0000 (21:46 +0200)
commit2187f2a2613385f22499ea19f0122b73513ac193
tree6020346fe555f3544d9d56f623f61d7531414c06
parentad20058031e8610712a70728a39b6a85edf785df
re PR middle-end/72781 (-Wuninitialized false positives in OpenMP code)

PR middle-end/72781
* omp-low.c (lower_lastprivate_clauses): Set TREE_NO_WARNING on the
private vars for lastprivate and for linear iterator.

* gcc.dg/gomp/pr72781.c: New test.

From-SVN: r239249
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr72781.c [new file with mode: 0644]