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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar  8 17:21:06 2017
New Revision: 245980

URL: https://gcc.gnu.org/viewcvs?rev=245980&root=gcc&view=rev
Log:
        PR c/79940
        * gimplify.c (gimplify_omp_for): Replace index var in outer
        taskloop statement with an artificial variable and add
        OMP_CLAUSE_PRIVATE clause for it.

        * testsuite/libgomp.c/pr79940.c: New test.

Added:
    trunk/libgomp/testsuite/libgomp.c/pr79940.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/libgomp/ChangeLog

Reply via email to