allocation regression
Andre Vehreschild
vehre@gmx.de
Thu Aug 6 08:09:00 GMT 2015
Hi Steve,
I don't think so and I am feeling guilty of adding this bug. Please create
a new pr and assign it to me.
Regards,
Andre
On Wed, 5 Aug 2015 22:37:53 -0700
Steve Kargl <sgk@troutmask.apl.washington.edu> wrote:
> 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)
>
--
Andre Vehreschild * Email: vehre ad gmx dot de
More information about the Fortran
mailing list