From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18110 invoked by alias); 6 Apr 2008 15:29:45 -0000 Received: (qmail 17641 invoked by uid 48); 6 Apr 2008 15:28:58 -0000 Date: Sun, 06 Apr 2008 15:29:00 -0000 Message-ID: <20080406152858.17639.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-04/txt/msg00471.txt.bz2 ------- Comment #21 from d at domob dot eu 2008-04-06 15:28 ------- Created an attachment (id=15435) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15435&action=view) Handles bounds checking and fixes regressions. This patch handles the bounds checking correctly, adds a test case if -std=f95 rejects array constructors with typespec, and fixes all regression failures, i.e., this makes the testsuite pass cleanly including all my own new test cases. However, I'm not quite sure about some things I did and if this is really the right way (although it seems to work), marked them mostly with XXX:. I'd be glad if someone could have a look at the patch and those places especially to see if all is ok or give comments how it should be done. And last but not least I'm not sure if I hit the right code style, I mostly doubt I did correctly insert the tab characters where they belong (as I'm used to indent with spaces only) ;) -- d at domob dot eu changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #15429|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27997