Issue |
142838
|
Summary |
[flang][OpenMP] Incorrect execution of Fujitsu test 1052_0201
|
Labels |
flang:openmp
|
Assignees |
|
Reporter |
eugeneepshteyn
|
Test source: https://github.com/fujitsu/compiler-test-suite/blob/main/Fortran/1052/1052_0201.f90
Sometimes compiling/running this test results in a segmentation faul:
```
$ flang -fopenmp 1052_0201.f90 && ./a.out
flang-21: warning: OpenMP support in flang is still experimental [-Wexperimental-option]
1052_0201.f90:30:9: warning: OpenMP directive MASTER has been deprecated, please use MASKED instead.
!$omp master
^^^^^^
Segmentation fault (core dumped)
```
Sometimes it's incorrect output:
```
$ flang -fopenmp 1052_0201.f90 && ./a.out
flang-21: warning: OpenMP support in flang is still experimental [-Wexperimental-option]
1052_0201.f90:30:9: warning: OpenMP directive MASTER has been deprecated, please use MASKED instead.
!$omp master
^^^^^^
NG 1
NG 3
NG 4
NG 5
NG 6
NG 7
NG 8
NG 9
NG 10
NG 11
...
```
flang version:
```
$ flang --version
flang version 21.0.0git (https://github.com/eugeneepshteyn/llvm-project.git cf348e886d0b30a4bf3e810efc00b2da0f7a4322)
Target: x86_64-unknown-linux-gnu
Thread model: posix
...
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs