From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25057 invoked by alias); 14 Sep 2009 18:52:02 -0000 Received: (qmail 25047 invoked by uid 22791); 14 Sep 2009 18:52:02 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.intrepid.com (HELO mail.intrepid.com) (74.95.8.113) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Sep 2009 18:51:58 +0000 Received: from screamer.local (screamer.local [10.10.1.2]) by mail.intrepid.com (8.13.8/8.13.8) with ESMTP id n8EIpuVo024730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Sep 2009 11:51:56 -0700 Received: from screamer.local (screamer.local [127.0.0.1]) by screamer.local (8.14.3/8.14.3) with ESMTP id n8EIpuqG032121; Mon, 14 Sep 2009 11:51:56 -0700 Received: (from gary@localhost) by screamer.local (8.14.3/8.14.3/Submit) id n8EIptfG032120; Mon, 14 Sep 2009 11:51:55 -0700 Date: Mon, 14 Sep 2009 18:52:00 -0000 From: Gary Funck To: Richard Guenther Cc: GCC List Subject: Re: RFC: cgraph/lowering vs. finish_file for GCC/UPC rewrites? Message-ID: <20090914185155.GA31789@intrepid.com> References: <20090914011819.GF7654@intrepid.com> <84fc9c000909140252p3c9ad031wa3279dfd82541b2c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84fc9c000909140252p3c9ad031wa3279dfd82541b2c@mail.gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00256.txt.bz2 On 09/14/09 11:52:11, Richard Guenther wrote: > Without reading all the details of your mail I suggest that you > perform a custom walk over the function bodies right before > the frontend calls cgraph_finalize_compilation_unit () that > performs the necessary lowering (and function creation) to > GENERIC. The C++ frontend already does this during its > genericize phase to transform frontend specific trees to > middle-end GENERIC trees. Richard, thanks. Will take a look at how C++ handles things. - Gary