1! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s 2! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s 3 4! CHECK: not yet implemented: Reduction of intrinsic procedures is not supported 5subroutine reduction_max(y) 6 integer :: x, y(:) 7 x = 0 8 !$omp parallel 9 !$omp do reduction(max:x) 10 do i=1, 100 11 x = max(x, y(i)) 12 end do 13 !$omp end do 14 !$omp end parallel 15 print *, x 16end subroutine 17