This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r223171 - in /trunk: gcc/ChangeLog gcc/omp-low....
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 13 May 2015 16:59:21 -0000
- Subject: r223171 - in /trunk: gcc/ChangeLog gcc/omp-low....
Author: jakub
Date: Wed May 13 16:59:20 2015
New Revision: 223171
URL: https://gcc.gnu.org/viewcvs?rev=223171&root=gcc&view=rev
Log:
PR middle-end/66133
* omp-low.c (expand_omp_taskreg): For GIMPLE_OMP_TASK expansion,
make sure it is never noreturn, even when the task body does not
return.
(lower_omp_taskreg): For GIMPLE_OMP_TASK, emit GIMPLE_OMP_CONTINUE
right before GIMPLE_OMP_RETURN.
(make_gimple_omp_edges): Accept GIMPLE_OMP_CONTINUE as ->cont
for GIMPLE_OMP_TASK. For GIMPLE_OMP_RETURN corresponding to
GIMPLE_OMP_TASK add an EDGE_ABNORMAL edge from entry to exit.
* testsuite/libgomp.c/pr66133.c: New test.
Added:
trunk/libgomp/testsuite/libgomp.c/pr66133.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/libgomp/ChangeLog