Skip to content

Commit cb6e6d5

Browse files
committed
Fortran/OpenMP: Fix -fdump-parse-tree for 'omp loop'
gcc/fortran/ChangeLog * dump-parse-tree.c (show_code_node): Handle EXEC_OMP_(TARGET_)(,PARALLEL_,TEAMS_)LOOP.
1 parent 9816f50 commit cb6e6d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gcc/fortran/dump-parse-tree.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3214,13 +3214,15 @@ show_code_node (int level, gfc_code *c)
32143214
case EXEC_OMP_DO:
32153215
case EXEC_OMP_DO_SIMD:
32163216
case EXEC_OMP_FLUSH:
3217+
case EXEC_OMP_LOOP:
32173218
case EXEC_OMP_MASTER:
32183219
case EXEC_OMP_MASTER_TASKLOOP:
32193220
case EXEC_OMP_MASTER_TASKLOOP_SIMD:
32203221
case EXEC_OMP_ORDERED:
32213222
case EXEC_OMP_PARALLEL:
32223223
case EXEC_OMP_PARALLEL_DO:
32233224
case EXEC_OMP_PARALLEL_DO_SIMD:
3225+
case EXEC_OMP_PARALLEL_LOOP:
32243226
case EXEC_OMP_PARALLEL_MASTER:
32253227
case EXEC_OMP_PARALLEL_MASTER_TASKLOOP:
32263228
case EXEC_OMP_PARALLEL_MASTER_TASKLOOP_SIMD:
@@ -3237,12 +3239,14 @@ show_code_node (int level, gfc_code *c)
32373239
case EXEC_OMP_TARGET_PARALLEL:
32383240
case EXEC_OMP_TARGET_PARALLEL_DO:
32393241
case EXEC_OMP_TARGET_PARALLEL_DO_SIMD:
3242+
case EXEC_OMP_TARGET_PARALLEL_LOOP:
32403243
case EXEC_OMP_TARGET_SIMD:
32413244
case EXEC_OMP_TARGET_TEAMS:
32423245
case EXEC_OMP_TARGET_TEAMS_DISTRIBUTE:
32433246
case EXEC_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_DO:
32443247
case EXEC_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_DO_SIMD:
32453248
case EXEC_OMP_TARGET_TEAMS_DISTRIBUTE_SIMD:
3249+
case EXEC_OMP_TARGET_TEAMS_LOOP:
32463250
case EXEC_OMP_TARGET_UPDATE:
32473251
case EXEC_OMP_TASK:
32483252
case EXEC_OMP_TASKGROUP:
@@ -3255,6 +3259,7 @@ show_code_node (int level, gfc_code *c)
32553259
case EXEC_OMP_TEAMS_DISTRIBUTE_PARALLEL_DO:
32563260
case EXEC_OMP_TEAMS_DISTRIBUTE_PARALLEL_DO_SIMD:
32573261
case EXEC_OMP_TEAMS_DISTRIBUTE_SIMD:
3262+
case EXEC_OMP_TEAMS_LOOP:
32583263
case EXEC_OMP_WORKSHARE:
32593264
show_omp_node (level, c);
32603265
break;

0 commit comments

Comments
 (0)