Improve checking for NULL() and NULL(MOLD=) when used as
variables and expressions outside the few contexts where
a disassociated pointer can be valid. There were both
inappropriate errors and missing checks.
Details
Details
- Reviewers
PeteSteinfeld - Commits
- rGd9195d6603f2: [flang] More precise checks for NULL() operands
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
All looks good.
flang/lib/Semantics/check-omp-structure.cpp | ||
---|---|---|
55–62 | This change doesn't seem related to everything else (although it looks good). Did you mean to include it? |
flang/lib/Semantics/check-omp-structure.cpp | ||
---|---|---|
55–62 | Yes, I do. It avoids a crash that I ran into while testing some earlier forms of my patch, and it seemed worth keeping to avoid having to change it again in the future. |
This change doesn't seem related to everything else (although it looks good). Did you mean to include it?