The issue comes from the fact that AllocatableInitCharacter is called before AllocatableAllocateSource and resets the descriptor before the check is done. so made AllocatableInitCharacter called after AllocatableAllocateSource.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is likely not fixing the bug. This has to be called before the actual allocation is done otherwise it has no impact.