This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/77941] ICE in expand_expr_addr_expr_1, at expr.c:7805


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]