re PR libgomp/61200 (internal compiler error: Segmentation fault, assert & openmp)
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 Oct 2014 07:29:42 +0000 (09:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 3 Oct 2014 07:29:42 +0000 (09:29 +0200)
commit5771c3915bedb3e92b79a7e81fa5eac751cd7413
treec8064d52e6ef0cbb4a3d77e534901e6b120a766e
parent661fb5ddb8d4232135a61227e7db2d1de8e458ac
re PR libgomp/61200 (internal compiler error: Segmentation fault, assert & openmp)

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.

From-SVN: r215835
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr61200.c [new file with mode: 0644]
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr61200.c [new file with mode: 0644]