From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32628 invoked by alias); 22 Sep 2004 14:50:42 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 32613 invoked from network); 22 Sep 2004 14:50:40 -0000 Received: from unknown (HELO ds20.nudt.edu.cn) (61.187.54.12) by sourceware.org with SMTP; 22 Sep 2004 14:50:40 -0000 Received: by ds20.nudt.edu.cn (Postfix, from userid 506) id A41FB5C76D; Wed, 22 Sep 2004 23:03:22 +0800 (HKT) From: Canqun Yang To: fortran@gcc.gnu.org, gcc@gcc.gnu.org Reply-To: Canqun Yang MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: YH WebMail Program Version 1.5 X-Originating-IP: 220.192.158.163 Subject: =?gb2312?B?U2NhbGFyIFJlcGxhY2VtZW50?= Message-Id: <20040922150322.A41FB5C76D@ds20.nudt.edu.cn> Date: Wed, 22 Sep 2004 15:51:00 -0000 X-SW-Source: 2004-09/txt/msg01280.txt.bz2 Hi, all I'm going to implement scalar replacement optimization on trees of GCC backend. Does anyone plan to do the same work? If so, please let me know. By now, the problem I encountered is the representation for array references of Fortran 95. As Gnu Fortran 95 frontend converts multi-dimensions arrays to one-dimension array references, it is hard to recover the number of dimensions and the index of each dimension for array references. This makes the dependence relation analysis failed to perform on tree loops. Is there any way to recover those information without modifying the Fortran 95 frontend? Or, if not. How to modify the frontend to satisify this? I'm looking forward for suggestions. Canqun Yang Creative Compiler Research Group. National University of Defense Technology, P. R. China.