https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72781

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Aug  8 19:46:36 2016
New Revision: 239249

URL: https://gcc.gnu.org/viewcvs?rev=239249&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/gcc.dg/gomp/pr72781.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to