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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct  3 07:29:42 2014
New Revision: 215835

URL: https://gcc.gnu.org/viewcvs?rev=215835&root=gcc&view=rev
Log:
    PR libgomp/61200
    * omp-low.c (taskreg_contexts): New variable.
    (scan_omp_parallel): Push newly created context into taskreg_contexts
    vector and move record layout code to finish_taskreg_scan.
    (scan_omp_task): Likewise.
    (finish_taskreg_scan): New function.
    (execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
    vector elements and release it.

    * c-c++-common/gomp/pr61200.c: New test.

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

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr61200.c
    trunk/libgomp/testsuite/libgomp.c/pr61200.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgomp/ChangeLog

Reply via email to