From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14339 invoked by alias); 26 Jun 2012 22:41:13 -0000 Received: (qmail 14329 invoked by uid 22791); 26 Jun 2012 22:41:12 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Jun 2012 22:40:58 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 3853029003E; Wed, 27 Jun 2012 00:41:03 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GRQ6chxgjO9h; Wed, 27 Jun 2012 00:41:03 +0200 (CEST) Received: from [192.168.1.2] (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id C2BB329003C; Wed, 27 Jun 2012 00:41:02 +0200 (CEST) From: Eric Botcazou To: Mike Stump Subject: Re: New option to turn off stack reuse for temporaries Date: Wed, 27 Jun 2012 03:03:00 -0000 User-Agent: KMail/1.9.9 Cc: gcc-patches@gcc.gnu.org, Michael Matz , Jason Merrill , Richard Guenther , Xinliang David Li References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201206270037.44766.ebotcazou@adacore.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-06/txt/msg01734.txt.bz2 > As do I. The intent was for Ada and every other language with things like > temporaries and cleanups to reuse the backend constructs, so that instead > of writing optimizers, one for each language, to instead share the > optimizer across languages. To me, the middle end and the backend are the > best places for these. Both are very high-level constructs though. By the time the AST is converted to GENERIC in the Ada compiler, it is already too lowered to make use of them. -- Eric Botcazou