This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/58916] New: Allocation of a class(*) scalar with array source allowed
- From: "vladimir.fuka at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Oct 2013 22:12:38 +0000
- Subject: [Bug fortran/58916] New: Allocation of a class(*) scalar with array source allowed
- Auto-submitted: auto-generated
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.