allocation regression
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Aug 6 05:37:00 GMT 2015
I believe that there may be a few uncommitted patches
floating about. Do any of the uncommitted patches
address this regression I ran across?
program p
implicit none
integer, allocatable :: b(:)
allocate(b , source=6 )
print *, b
end program p
% gfc6 -c a1.f90
a1.f90:4:0:
allocate(b , source=6 )
1
internal compiler error: in gfc_conv_expr_descriptor, at
fortran/trans-array.c:6656
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
% gfc5 -c a1.f90
a1.f90:4:10:
allocate(b , source=6 )
1
Error: Array specification required in ALLOCATE statement at (1)
--
Steve
More information about the Fortran
mailing list