re PR c/53580 (Internal Segmentation fault in nested "omp parallel", "omp parallel for" and "omp parallel for reduction" Directives) 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
| Name | 
 Last commit 
 | 
Last update | 
|---|---|---|
| .. | ||
| appendix-a | Loading commit data... | |
| allocatable1.f90 | Loading commit data... | |
| allocatable2.f90 | Loading commit data... | |
| allocatable3.f90 | Loading commit data... | |
| allocatable4.f90 | Loading commit data... | |
| allocatable5.f90 | Loading commit data... | |
| allocatable6.f90 | Loading commit data... | |
| allocatable7.f90 | Loading commit data... | |
| allocatable8.f90 | Loading commit data... | |
| character1.f90 | Loading commit data... | |
| character2.f90 | Loading commit data... | |
| collapse1.f90 | Loading commit data... | |
| collapse2.f90 | Loading commit data... | |
| collapse3.f90 | Loading commit data... | |
| collapse4.f90 | Loading commit data... | |
| condinc1.f | Loading commit data... | |
| condinc1.inc | Loading commit data... | |
| condinc2.f | Loading commit data... | |
| condinc3.f90 | Loading commit data... | |
| condinc4.f90 | Loading commit data... | |
| crayptr1.f90 | Loading commit data... | |
| crayptr2.f90 | Loading commit data... | |
| crayptr3.f90 | Loading commit data... | |
| do1.f90 | Loading commit data... | |
| do2.f90 | Loading commit data... | |
| fortran.exp | Loading commit data... | |
| jacobi.f | Loading commit data... | |
| lastprivate1.f90 | Loading commit data... | |
| lastprivate2.f90 | Loading commit data... | |
| lib1.f90 | Loading commit data... | |
| lib2.f | Loading commit data... | |
| lib3.f | Loading commit data... | |
| lib4.f90 | Loading commit data... | |
| lock-1.f90 | Loading commit data... | |
| lock-2.f90 | Loading commit data... | |
| nested1.f90 | Loading commit data... | |
| nestedfn1.f90 | Loading commit data... | |
| nestedfn2.f90 | Loading commit data... | |
| nestedfn3.f90 | Loading commit data... | |
| nestedfn4.f90 | Loading commit data... | |
| omp_atomic1.f90 | Loading commit data... | |
| omp_atomic2.f90 | Loading commit data... | |
| omp_atomic3.f90 | Loading commit data... | |
| omp_atomic4.f90 | Loading commit data... | |
| omp_cond1.f | Loading commit data... | |
| omp_cond2.f | Loading commit data... | |
| omp_cond3.F90 | Loading commit data... | |
| omp_cond4.F90 | Loading commit data... | |
| omp_hello.f | Loading commit data... | |
| omp_orphan.f | Loading commit data... | |
| omp_parse1.f90 | Loading commit data... | |
| omp_parse2.f90 | Loading commit data... | |
| omp_parse3.f90 | Loading commit data... | |
| omp_parse4.f90 | Loading commit data... | |
| omp_reduction.f | Loading commit data... | |
| omp_workshare1.f | Loading commit data... | |
| omp_workshare2.f | Loading commit data... | |
| pointer1.f90 | Loading commit data... | |
| pointer2.f90 | Loading commit data... | |
| pr25162.f | Loading commit data... | |
| pr25219.f90 | Loading commit data... | |
| pr27395-1.f90 | Loading commit data... | |
| pr27395-2.f90 | Loading commit data... | |
| pr27416-1.f90 | Loading commit data... | |
| pr27916-1.f90 | Loading commit data... | |
| pr27916-2.f90 | Loading commit data... | |
| pr28390.f | Loading commit data... | |
| pr29629.f90 | Loading commit data... | |
| pr32359.f90 | Loading commit data... | |
| pr32550.f90 | Loading commit data... | |
| pr33880.f90 | Loading commit data... | |
| pr34020.f90 | Loading commit data... | |
| pr35130.f90 | Loading commit data... | |
| pr42162.f90 | Loading commit data... | |
| pr46753.f90 | Loading commit data... | |
| pr48894.f90 | Loading commit data... | |
| pr49792-1.f90 | Loading commit data... | |
| pr49792-2.f90 | Loading commit data... | |
| recursion1.f90 | Loading commit data... | |
| reduction1.f90 | Loading commit data... | |
| reduction2.f90 | Loading commit data... | |
| reduction3.f90 | Loading commit data... | |
| reduction4.f90 | Loading commit data... | |
| reduction5.f90 | Loading commit data... | |
| reduction6.f90 | Loading commit data... | |
| reference1.f90 | Loading commit data... | |
| reference2.f90 | Loading commit data... | |
| retval1.f90 | Loading commit data... | |
| retval2.f90 | Loading commit data... | |
| sharing1.f90 | Loading commit data... | |
| sharing2.f90 | Loading commit data... | |
| stack.f90 | Loading commit data... | |
| strassen.f90 | Loading commit data... | |
| tabs1.f90 | Loading commit data... | |
| tabs2.f | Loading commit data... | |
| task1.f90 | Loading commit data... | |
| task2.f90 | Loading commit data... | |
| task3.f90 | Loading commit data... | |
| task4.f90 | Loading commit data... | |
| threadprivate1.f90 | Loading commit data... | |
| threadprivate2.f90 | Loading commit data... | |
| threadprivate3.f90 | Loading commit data... | |
| threadprivate4.f90 | Loading commit data... | |
| vla1.f90 | Loading commit data... | |
| vla2.f90 | Loading commit data... | |
| vla3.f90 | Loading commit data... | |
| vla4.f90 | Loading commit data... | |
| vla5.f90 | Loading commit data... | |
| vla6.f90 | Loading commit data... | |
| vla7.f90 | Loading commit data... | |
| vla8.f90 | Loading commit data... | |
| workshare1.f90 | Loading commit data... | |
| workshare2.f90 | Loading commit data... |