This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77667] ICE in expand_call, at calls.c:2588
- 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, 20 Sep 2016 18:00:40 +0000
- Subject: [Bug fortran/77667] ICE in expand_call, at calls.c:2588
- Auto-submitted: auto-generated
- References: <bug-77667-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77667
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
Variants with a type mismatch give a suboptimal error message :
$ cat z2.f90
program p
type t
integer :: a
integer, pointer :: b
end type
type(t) :: x
data x /t(4, f())/
print *, x%a, associated(x%b)
end
$ cat z3.f90
program p
type t
integer :: a
logical, pointer :: b
end type
type(t) :: x
data x /t(4, f())/
print *, x%a, associated(x%b)
end
$ gfortran-7-20160918 z3.f90
z3.f90:9:0:
end
Error: initializer for floating value is not a floating constant