f18 current ignores attempts to initialize (with =expr) things
that are not objects, or allows meaningless initializations of
things that have mistakenly been promoted to be objects.
Fix by refusing to promote to objects names that have any
attributes that cannot be applied to objects, and then catch
data initializations of symbols that are not objects.
Details
Details
- Reviewers
PeteSteinfeld - Commits
- rG034bab4cc83d: [flang] Diagnose invalid initializations
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo