[Bug fortran/22146] New: ICE when calling ELEMENTAL subroutines

eedelman at acclab dot helsinki dot fi gcc-bugzilla@gcc.gnu.org
Wed Jun 22 17:40:00 GMT 2005


$ cat gfortranbug.f90 
module buggy

contains

    elemental subroutine foo(a)
        integer, intent(out) :: a
        a = 0
    end subroutine foo

    subroutine bar()
        integer :: a(10)
        call foo(a)
    end subroutine bar

end module buggy

$ gfortran41 -c gfortranbug.f90 
gfortranbug.f90: In function 'bar':
gfortranbug.f90:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE when calling ELEMENTAL subroutines
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eedelman at acclab dot helsinki dot fi
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22146



More information about the Gcc-bugs mailing list