Skip to content

Commit baeedd7

Browse files
authored
[Flang][OpenMP] Fix run line w/ use mod_lib (#123762)
After the crude workaround in #123666, @mjklemm suggested this change instead to address the issue. Local testing did not show errors, so I'm inclined to land it and see what the buildbots think.
1 parent a31e253 commit baeedd7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
! REQUIRES: openmp_runtime
2-
! RUN: %not_todo_cmd %flang_fc1 -emit-llvm -fopenmp -fopenmp-version=51 -o - %s 2>&1 | FileCheck %s
2+
! RUN: %not_todo_cmd %flang_fc1 -emit-llvm %openmp_flags -fopenmp-version=51 -o - %s 2>&1 | FileCheck %s
33

44
! CHECK: not yet implemented: Unhandled clause allocate in omp.parallel
55
! CHECK: LLVM Translation failed for operation: omp.parallel
66
program p
7-
!use omp_lib
8-
integer(8),parameter::omp_default_mem_alloc=1_8
7+
use omp_lib
98
integer :: x
109
integer :: a
1110
integer :: i

0 commit comments

Comments
 (0)