D131585 Adds couple of semantics check for the components of BIND(C)
derived-type. This would raise an error when a component is of C_PTR
type. Add bind(c) to the __builtin_c_ptr type so the wrong error
is not triggered.
Details
Details
- Reviewers
peixin klausler jeanPerier - Commits
- rGa6e155fd9a39: [flang] Add bind(C) to buitlin C_PTR
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. Checked ifort 2021 iso_c_binding.f90 and it has BIND(C) for both C_PTR and C_FUNPTR.