You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Flang][OpenMP] Fix allocatable -ve bounds mapping issue found in SWDEV-548635
This should fix the problem in SWDEV-548635 and seems fairly stable from the POV of
my local tests, but, need to see how it fairs against the nightly testing.
The issue was primarily that the previous intermediate map generation for allocatable
members wasn't quite handling negative bounds acccesses correctly, it seems to require
slightly more complicated access using shape_shift/dimension information. So this more
closely mimics what Flang generates in other cases now.
There is still a path for non-Box types to go down the old route for the moment, so it
is possible we may still have issues with negative bounds in these cases. But, that's
better in another PR if we come across it, instead of too much change in this one.
0 commit comments