From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24514 invoked by alias); 25 Mar 2008 16:41:37 -0000 Received: (qmail 24274 invoked by uid 48); 25 Mar 2008 16:40:54 -0000 Date: Tue, 25 Mar 2008 16:41:00 -0000 Message-ID: <20080325164054.24273.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/27997] Fortran 2003: Support type-spec for array constructor In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "d at domob dot eu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg01989.txt.bz2 ------- Comment #10 from d at domob dot eu 2008-03-25 16:40 ------- (In reply to comment #7) > (In reply to comment #6) > > This string length change (and padding) needs to happen way earlier than that. > We should make it happen during the matching, when we convert the constructor > objects into the array constructor type. Hm, what about adding a case to gfc_resolve_character_array_constructor handling arrays *with* given length by padding all elements that are shorter? Would this work? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27997