26127932dd
PR middle-end/53580 * omp-low.c (scan_omp): Change first argument to gimple_seq *, call walk_gimple_seq_mod instead of walk_gimple_seq. (scan_sharing_clauses, scan_omp_parallel, scan_omp_task, scan_omp_for, scan_omp_sections, scan_omp_single, execute_lower_omp): Adjust callers. (scan_omp_1_stmt): Likewise. If check_omp_nesting_restrictions returns false, replace stmt with GIMPLE_NOP. (check_omp_nesting_restrictions): Instead of issuing warnings, issue errors and return false if any errors were reported. * gcc.dg/gomp/nesting-1.c: Expect errors rather than warnings. * gcc.dg/gomp/critical-4.c: Likewise. * gfortran.dg/gomp/appendix-a/a.35.1.f90: Likewise. * gfortran.dg/gomp/appendix-a/a.35.3.f90: Likewise. * gfortran.dg/gomp/appendix-a/a.35.4.f90: Likewise. * gfortran.dg/gomp/appendix-a/a.35.6.f90: Likewise. * c-c++-common/gomp/pr53580.c: New test. * testsuite/libgomp.c/pr26943-2.c: Remove #pragma omp barrier, use GOMP_barrier () call instead. * testsuite/libgomp.c/pr26943-3.c: Likewise. * testsuite/libgomp.c/pr26943-4.c: Likewise. * testsuite/libgomp.fortran/vla4.f90: Remove !$omp barrier, call GOMP_barrier instead. * testsuite/libgomp.fortran/vla5.f90: Likewise. From-SVN: r188298 |
||
---|---|---|
.. | ||
appendix-a | ||
atomic-1.c | ||
atomic-2.c | ||
atomic-3.c | ||
atomic-4.c | ||
atomic-5.c | ||
atomic-6.c | ||
atomic-10.c | ||
atomic-11.c | ||
atomic-12.c | ||
atomic-13.c | ||
atomic-14.c | ||
autopar-1.c | ||
barrier-1.c | ||
c.exp | ||
collapse-1.c | ||
collapse-2.c | ||
collapse-3.c | ||
copyin-1.c | ||
copyin-2.c | ||
copyin-3.c | ||
critical-1.c | ||
critical-2.c | ||
debug-1.c | ||
icv-1.c | ||
icv-2.c | ||
lib-1.c | ||
lib-2.c | ||
lock-1.c | ||
lock-2.c | ||
lock-3.c | ||
loop-1.c | ||
loop-2.c | ||
loop-3.c | ||
loop-4.c | ||
loop-5.c | ||
loop-6.c | ||
loop-7.c | ||
loop-8.c | ||
loop-9.c | ||
loop-10.c | ||
loop-11.c | ||
loop-12.c | ||
nested-1.c | ||
nested-2.c | ||
nested-3.c | ||
nestedfn-1.c | ||
nestedfn-2.c | ||
nestedfn-3.c | ||
nestedfn-4.c | ||
nestedfn-5.c | ||
nestedfn-6.c | ||
nqueens-1.c | ||
omp_hello.c | ||
omp_matvec.c | ||
omp_orphan.c | ||
omp_reduction.c | ||
omp_workshare1.c | ||
omp_workshare2.c | ||
omp_workshare3.c | ||
omp_workshare4.c | ||
omp-loop01.c | ||
omp-loop02.c | ||
omp-loop03.c | ||
omp-nested-1.c | ||
omp-parallel-for.c | ||
omp-parallel-if.c | ||
omp-single-1.c | ||
omp-single-2.c | ||
omp-single-3.c | ||
ordered-1.c | ||
ordered-2.c | ||
ordered-3.c | ||
parallel-1.c | ||
pr24455-1.c | ||
pr24455.c | ||
pr26171.c | ||
pr26943-1.c | ||
pr26943-2.c | ||
pr26943-3.c | ||
pr26943-4.c | ||
pr29947-1.c | ||
pr29947-2.c | ||
pr30494.c | ||
pr32362-1.c | ||
pr32362-2.c | ||
pr32362-3.c | ||
pr32468.c | ||
pr33880.c | ||
pr34513.c | ||
pr35130.c | ||
pr35196.c | ||
pr35549.c | ||
pr35625.c | ||
pr36802-1.c | ||
pr36802-2.c | ||
pr36802-3.c | ||
pr38650.c | ||
pr39154.c | ||
pr39591-1.c | ||
pr39591-2.c | ||
pr39591-3.c | ||
pr42029.c | ||
pr42942.c | ||
pr43893.c | ||
pr46886.c | ||
pr48591.c | ||
pr49897-1.c | ||
pr49897-2.c | ||
pr49898-1.c | ||
pr49898-2.c | ||
pr52547.c | ||
private-1.c | ||
reduction-1.c | ||
reduction-2.c | ||
reduction-3.c | ||
reduction-4.c | ||
reduction-5.c | ||
reduction-6.c | ||
sections-1.c | ||
shared-1.c | ||
shared-2.c | ||
shared-3.c | ||
single-1.c | ||
single-2.c | ||
sort-1.c | ||
task-1.c | ||
task-2.c | ||
task-3.c | ||
task-4.c | ||
task-5.c | ||
vla-1.c |