Runtime call to PointerNullifyDerived or AllocatableInitDerived
should only be generated for derived-type allocation of polymorphic entities.
With unlimited polymorphic entities, it is possible that the type spec is not
a derived-type. Avoid failure in that case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Aside from that one nit, all builds and tests correctly and looks good.
flang/lib/Lower/Allocatable.cpp | ||
---|---|---|
485 | Should read "calls" rather than "call". |
Should read "calls" rather than "call".