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: "d at domob dot eu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2008 19:53:46 -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 #13 from d at domob dot eu 2008-03-25 19:53 -------
Created an attachment (id=15374)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15374&action=view)
Patch padding for constant character lengths
This patch implements padding if the character length of the array is constant
(it was much easier than I thought, and much less complicated than the solution
I tried before--just know where...). It handles the original failure and also
the test from comment #9 (if I understood correctly what the output should be),
but it fails for the one in comment #11 with dynamic length.
I did also add those two cases to the test suite, with the latter failing.
This patch also provokes a failure of char_component_initializer_1.f90 of
pr31487. Any hints why?
--
d at domob dot eu changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15370|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27997