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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jul 10 14:14:18 2015
New Revision: 225678

URL: https://gcc.gnu.org/viewcvs?rev=225678&root=gcc&view=rev
Log:
        PR middle-end/66820
        * gimplify.c (maybe_fold_stmt): Don't fold in ORT_PARALLEL
        or ORT_TASK contexts.
        * omp-low.c (lower_omp): Call fold_stmt even if taskreg_nesting_level
        is non-zero.

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

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/gomp/pr66820.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/gimplify.c
    branches/gcc-5-branch/gcc/omp-low.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to