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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 08:25:50 2017
New Revision: 248671

URL: https://gcc.gnu.org/viewcvs?rev=248671&root=gcc&view=rev
Log:
        Backported from mainline
        2017-04-11  Jakub Jelinek  <ja...@redhat.com>

        PR libgomp/80394
        * omp-low.c (scan_omp_task): Don't optimize away empty tasks
        if they have any depend clauses.

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

Added:
    branches/gcc-5-branch/libgomp/testsuite/libgomp.c/pr80394.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/omp-low.c
    branches/gcc-5-branch/libgomp/ChangeLog

Reply via email to