OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [assumed_charlen_function_2.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR25416, which ICED in gfc_conv_function_call, when
3
! treating SPREAD in the statement below.
4
!
5
! Contributed by Ulrich Weigand  
6
function bug(self,strvec) result(res)
7
  character(*) :: self
8
  character(*), dimension(:), intent(in) :: strvec
9
  logical(kind=kind(.true.)) :: res
10
 
11
  res = any(index(strvec,spread(self,1,size(strvec))) /= 0)
12
end function
13
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.