diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-05-13 18:59:20 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-05-13 18:59:20 +0200 |
commit | b37dddbc771d55d42c25edb0ef4dad663dff21e8 (patch) | |
tree | a98a3f2c207b53f57c6310b769a54c75b47423f1 /libjava/exception.cc | |
parent | 098aac94ef8927e4bd24fc59919e9163057688fa (diff) | |
download | gcc-b37dddbc771d55d42c25edb0ef4dad663dff21e8.zip gcc-b37dddbc771d55d42c25edb0ef4dad663dff21e8.tar.gz gcc-b37dddbc771d55d42c25edb0ef4dad663dff21e8.tar.bz2 |
re PR middle-end/66133 (Wrong-code with noreturn #pragma omp task body)
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.
From-SVN: r223171
Diffstat (limited to 'libjava/exception.cc')
0 files changed, 0 insertions, 0 deletions