https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71085
Bug ID: 71085
Summary: ICE with some intrinsic functions specifying array
function result dimension
Product: gcc
Version: 5.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: vladimir.fuka at gmail dot com
Target Milestone: ---
print *, f()
contains
function f()
integer :: f(iargc()*10)
end
end
ICE's with gcc version 5.3.1 20160412
print *, f()
1
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
Also ICE's with nint(rand()), irand(), nint(second()).
It does not crash with itime() and nint(secnd()).