This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27997] Fortran 2003: Support type-spec for array constructor
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2008 10:32:04 -0000
- Subject: [Bug fortran/27997] Fortran 2003: Support type-spec for array constructor
- References: <bug-27997-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from burnus at gcc dot gnu dot org 2008-03-28 10:32 -------
(In reply to comment #13)
> Created an attachment (id=15374)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15374&action=view) [edit]
> Patch padding for constant character lengths
I assume that you have not bootstrapped GCC/gfortran since with that patch it
fails when compiling libgfortran/intrinsics/selected_real_kind.f90.
Reduced test case:
type :: real_info
integer :: kind
end type real_info
type (real_info) :: real_infos(1) = (/ real_info (4) /)
end
type (real_info) :: real_infos(1) = (/ real_info (4) /)
1
Error: Syntax error in array constructor at (1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27997