From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6352 invoked by alias); 30 Nov 2012 23:51:35 -0000 Received: (qmail 6325 invoked by uid 22791); 30 Nov 2012 23:51:33 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ea0-f175.google.com (HELO mail-ea0-f175.google.com) (209.85.215.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Nov 2012 23:51:28 +0000 Received: by mail-ea0-f175.google.com with SMTP id h11so417052eaa.20 for ; Fri, 30 Nov 2012 15:51:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.175.133 with SMTP id z5mr9831188eel.15.1354319487316; Fri, 30 Nov 2012 15:51:27 -0800 (PST) Received: by 10.14.37.138 with HTTP; Fri, 30 Nov 2012 15:51:27 -0800 (PST) In-Reply-To: References: Date: Fri, 30 Nov 2012 23:51:00 -0000 Message-ID: Subject: Re: Question about gimple frontend From: Lyu Mitnick To: Ian Lance Taylor Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg00229.txt.bz2 Hello Ian, Thanks for your reply. I have check out the source code from gimple-front-end branch, and build gimple1 successfully. However neither took the example of GimpleFrontEnd wiki nor *.gimple in gcc/testsuite/gimple.dg as input, gimple1 just check/parse but output nothing in *.s. My running script is as follows: $ gimple1 20120523-1.gimple I am wondering whether I misuse gimple1 or the project status is systax checking only. Thanks a lot 2012/11/30 Ian Lance Taylor : > On Thu, Nov 29, 2012 at 10:52 AM, Lyu Mitnick wrote: >> >> I notice that there is a project Gimple FE - A Gimple Front End >> (http://gcc.gnu.org/wiki/GimpleFrontEnd). >> I have read the GCC document to find how to use. And I found the >> option, -fdump-tree-gimple, which can >> be used to output gimple. However I cannot find any option to read >> gimple in, and continues compiling. >> Would you mind to tell me how to do it? > > It's a project. It's not complete and it's not part of mainline GCC. > As the wiki page says, the work is being done on the gimple-front-end > branch. > > Ian