From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3059 invoked by alias); 1 Feb 2008 09:48:28 -0000 Received: (qmail 2931 invoked by uid 48); 1 Feb 2008 09:47:41 -0000 Date: Fri, 01 Feb 2008 09:48:00 -0000 Message-ID: <20080201094741.2930.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/35040] usage of init expression in its own definition In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dfranke at gcc dot gnu dot org" 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-02/txt/msg00029.txt.bz2 ------- Comment #4 from dfranke at gcc dot gnu dot org 2008-02-01 09:47 ------- > And I also believe all our examples in this PR are wrong. In all the invalid examples given in comment #3, the dimension specification is on the rhs of '::'. In my example it's on the lhs. If the latter is invalid too, how about DIMENSION :: xyz(2,2) REAL, PARAMETER :: xyz = RESHAPE((/ 1,2,3,4 /), SHAPE(xyz)) END This should be perfectly valid? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35040