Open k-arrows opened 11 months ago
@llvm/issue-subscribers-flang-ir
@llvm/issue-subscribers-openmp
@agozillon : Could you have a look?
Had a bit of a look while trying to resolve the issue with the other incredibly similar example which I progressed to the point of having the same error.
I believe it's likely related to the multiple directive nestings not quite working as they should (I don't think we've progressed to the point of dealing with this level of nesting yet) rather than anything specific to map or declare target, we've just progressed past the point of the original TODO being a valid reason for the test to not progress further.
It's now on my TODO list and I talked a small amount more about it in the other issue, but I have a feeling we will encounter this issue eventually and deal with it, but I think we may be a bit away from supporting this level of nesting (maybe closer than I expect, I am not particularly well versed in the other directives in use and there current state without doing more of an in-depth look).
Reproducer: https://github.com/gcc-mirror/gcc/blob/master/libgomp/testsuite/libgomp.fortran/target8.f90
Stack dump:
When I tested this program in August, I got the following TODO message: