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

            Bug ID: 58916
           Summary: Allocation of a class(*) scalar with array source
                    allowed
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vladimir.fuka at gmail dot com

class(*),allocatable :: a
 real b(1)
 allocate(a, source=b)
end

Does not cause any error.

Reply via email to