URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [repack_arrays_1.f90] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do run }! { dg-options "-frepack-arrays" }!! Check that arrays marked with TARGET attribute are not repacked.!program test2use iso_c_bindingimplicit nonereal, target :: x(7)type(c_ptr) cp1, cp2x = 42if (.not. c_associated(c_loc(x(3)),point(x(::2)))) call abortcontainsfunction point(x)use iso_c_bindingreal, intent(in), target :: x(:)type(c_ptr) pointreal, pointer :: pp => x(2)point = c_loc(p)end function pointend program test2
Go to most recent revision | Compare with Previous | Blame | View Log
