[all-commits] [llvm/llvm-project] f4a9f4: [flang] Foil attempts to use C_PTR/C_FUNPTR as str...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Aug 8 11:56:47 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4a9f4b613e22a3c865e7510103287f8e65440b6
https://github.com/llvm/llvm-project/commit/f4a9f4b613e22a3c865e7510103287f8e65440b6
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M flang/module/__fortran_builtins.f90
M flang/module/iso_c_binding.f90
M flang/test/Semantics/c_loc01.f90
Log Message:
-----------
[flang] Foil attempts to use C_PTR/C_FUNPTR as structure constructors
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.
Differential Revision: https://reviews.llvm.org/D157343
More information about the All-commits
mailing list