Skip to content

Commit

Permalink
[flang] Repair C_LOC
Browse files Browse the repository at this point in the history
Original-commit: flang-compiler/f18@dc1c952
Reviewed-on: flang-compiler/f18#1061
Tree-same-pre-rewrite: false
  • Loading branch information
klausler committed Mar 11, 2020
1 parent 886fb42 commit 771c21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/module/iso_c_binding.f90
Expand Up @@ -91,7 +91,7 @@ end function c_associated

function c_loc(x)
type(c_ptr) :: c_loc
type(*), dimension(:), intent(in) :: x
type(*), dimension(..), intent(in) :: x
c_loc = c_ptr(loc(x))
end function c_loc

Expand Down

0 comments on commit 771c21c

Please sign in to comment.