[Bug fortran/58916] [F03] Allocation of scalar with array source not rejected

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 9 15:58:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58916

--- Comment #5 from janus at gcc dot gnu.org ---
(In reply to janus from comment #1)
> Here is a variant without classes:
> 
>  real, allocatable :: a
>  real b(1)
>  allocate(a, source=b)
> end

I just noticed that this case has been filed as PR 58917.



More information about the Gcc-bugs mailing list