This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77414] ICE in create_function_arglist, at fortran/trans-decl.c:2410
- From: "gerhard dot steinmetz dot fortran at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Aug 2016 18:46:50 +0000
- Subject: [Bug fortran/77414] ICE in create_function_arglist, at fortran/trans-decl.c:2410
- Auto-submitted: auto-generated
- References: <bug-77414-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77414
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Backup tests, more variants :
$ cat z2.f90
subroutine s(x)
real :: x
contains
subroutine s(x)
character(*) :: x
end
end
$ cat z3.f90
subroutine s(x)
real :: x
contains
subroutine s(x)
character(:), allocatable :: x
end
end
$ cat z4.f90
subroutine s(x)
character(*) :: x
contains
subroutine s(x)
character(:), allocatable :: x
end
end
---
Generating backtrace from pr44348 :
$ cat z7.f90
subroutine s(x)
character(*) :: x
contains
subroutine s(x)
real :: x
end
end
$ cat z8.f90
subroutine s(x)
character(*) :: x
contains
subroutine s(x)
real :: x(*)
end
end
$ cat z9.f90
subroutine s(x)
character(*) :: x
contains
subroutine s(x)
character :: x(*)
end
end