URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
! { dg-do compile }
|
! { dg-do compile }
|
! Tests the fix for PR25416, which ICED in gfc_conv_function_call, when
|
! Tests the fix for PR25416, which ICED in gfc_conv_function_call, when
|
! treating SPREAD in the statement below.
|
! treating SPREAD in the statement below.
|
!
|
!
|
! Contributed by Ulrich Weigand
|
! Contributed by Ulrich Weigand
|
function bug(self,strvec) result(res)
|
function bug(self,strvec) result(res)
|
character(*) :: self
|
character(*) :: self
|
character(*), dimension(:), intent(in) :: strvec
|
character(*), dimension(:), intent(in) :: strvec
|
logical(kind=kind(.true.)) :: res
|
logical(kind=kind(.true.)) :: res
|
|
|
res = any(index(strvec,spread(self,1,size(strvec))) /= 0)
|
res = any(index(strvec,spread(self,1,size(strvec))) /= 0)
|
end function
|
end function
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.