Issue |
64760
|
Summary |
[OpenRadioss] openmp implicit none scope issue
|
Labels |
new issue
|
Assignees |
|
Reporter |
varnj
|
In the openmp pragma default(none) if the size of the loop is passed as a function argument, the compilation fails as it can not detect n. For gcc (8.5) and icc this succeds to compile but for aocc it fails. I am providing a sample test case to replicate the issue.
The workaround for this is to put this variable in shared as this is just a read only, this requires source code change for open source codes. gcc and icc both succeed on the compilation.
[radioss.zip](https://github.com/llvm/llvm-project/files/12366989/radioss.zip)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs