The internal details of the C_PTR and C_FUNPTR types must be made private
so that user code can't try to access their components or attempt to use
their structure constructors.
Fixes llvm-test-suite/Fortran/fortran/c_ptr_tests_13.f90.
Paths
| Differential D157343
[flang] Foil attempts to use C_PTR/C_FUNPTR as structure constructors ClosedPublic Authored by klausler on Aug 7 2023, 3:24 PM.
Details Summary The internal details of the C_PTR and C_FUNPTR types must be made private Fixes llvm-test-suite/Fortran/fortran/c_ptr_tests_13.f90.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Aug 7 2023, 3:53 PM Closed by commit rGf4a9f4b613e2: [flang] Foil attempts to use C_PTR/C_FUNPTR as structure constructors (authored by klausler). · Explain WhyAug 8 2023, 11:56 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 547975 flang/module/__fortran_builtins.f90
flang/module/iso_c_binding.f90
flang/test/Semantics/c_loc01.f90
|