https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50069

zmi <zmi007 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zmi007 at gmail dot com

--- Comment #6 from zmi <zmi007 at gmail dot com> ---
A am not sure if its the same bug, but I get ICE for the function

!-----------------------------------------------------------------------
!Function
!-----------------------------------------------------------------------
function  reverse(string) ! bind(c, name='reverse')
implicit none
character(len=*), intent(in) :: string
character(len=:),allocatable :: reverse
reverse = string
forall (i=1:len(reverse)) reverse(i:i) =
reverse(len(reverse)-i+1:len(reverse)-i+1)
end function reverse



forall (i=1:len(reverse)) reverse(i:i) =
reverse(len(reverse)-i+1:len(reverse)-i+1)
 1
internal compiler error: in gfc_conv_variable, at fortran/trans-expr.c:2368


gfortran --version
GNU Fortran (SUSE Linux) 5.2.1 20150721 [gcc-5-branch revision 226027]

Reply via email to