Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/c_f_pointer_shape_tests_6.f90 @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR 60302: [4.9 Regression] ICE with c_f_pointer and android cross compiler ! ! Contributed by Valery Weber <valeryweber@hotmail.com> subroutine reshape_inplace_c2_c2 (new_shape) use, intrinsic :: iso_c_binding implicit none integer :: new_shape(:) complex, pointer :: ptr_x(:) type(c_ptr) :: loc_x call c_f_pointer (loc_x, ptr_x, new_shape) end subroutine