This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77941] ICE in expand_expr_addr_expr_1, at expr.c:7805
- 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, 11 Oct 2016 18:40:58 +0000
- Subject: [Bug fortran/77941] ICE in expand_expr_addr_expr_1, at expr.c:7805
- Auto-submitted: auto-generated
- References: <bug-77941-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77941
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
No ICE with "intent(in)" instead :
$ cat z2.f90
program p
print *, f(2_8**32+1)
contains
function f(n)
integer(8), intent(in) :: n
character(n) :: f
f = 'a'
end
end
$ gfortran-7-20161009 z2.f90
$ a.out
a