-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Flang][OpenMP] Compilation abnormally terminates when common block is specified in list of lastprivate clause in sections construct #121719
Labels
Comments
@llvm/issue-subscribers-flang-ir Author: None (ohno-fj)
```
Version of flang : 20.0.0(c5492e3)/AArch64
```
When The following are the test program, Flang, Gfortran and ifx compilation/execution result. snfmm221_2322.f90: program main
common /com/ i
i=1
!$omp sections lastprivate(/com/)
i=2
!$omp end sections
write(6,*) "i = ", i
end program main
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When
common block
is specified inlist
oflastprivate
clause insections construct
, a compilation terminates abnormally.When
firstprivate
andprivate
are used instead oflastprivate
, the compilation succeeds.The following are the test program, Flang, Gfortran and ifx compilation/execution result.
snfmm221_2322.f90:
The text was updated successfully, but these errors were encountered: