[Bug fortran/27997] Fortran 2003: Support type-spec for array constructor

d at domob dot eu gcc-bugzilla@gcc.gnu.org
Tue Mar 25 19:54:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list