Nice try, but no, you can't initialize an instance of a derived type using a
structure constructor that has a component corresponding to an allocatable
component.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D140144
[flang] Catch attempts to initialize allocatable components with DATA statement ClosedPublic Authored by klausler on Dec 15 2022, 11:43 AM.
Details Summary Nice try, but no, you can't initialize an instance of a derived type using a
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 15 2022, 1:21 PM Closed by commit rG12ec5b20c2c1: [flang] Catch attempts to initialize allocatable components with DATA statement (authored by klausler). · Explain WhyDec 16 2022, 6:16 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 483700 flang/lib/Evaluate/initial-image.cpp
flang/test/Semantics/data01.f90
|