This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/22146] New: ICE when calling ELEMENTAL subroutines
- From: "eedelman at acclab dot helsinki dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2005 17:40:43 -0000
- Subject: [Bug fortran/22146] New: ICE when calling ELEMENTAL subroutines
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ 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