From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11539 invoked by alias); 5 May 2011 09:24:57 -0000 Received: (qmail 11530 invoked by uid 22791); 5 May 2011 09:24:56 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 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; Thu, 05 May 2011 09:24:43 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 2B3FBCB022E; Thu, 5 May 2011 11:24:42 +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 9QrLN2iX-aRq; Thu, 5 May 2011 11:24:39 +0200 (CEST) Received: from new-host.home (ADijon-552-1-27-110.w92-138.abo.wanadoo.fr [92.138.162.110]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 0BAA1CB01D6; Thu, 5 May 2011 11:24:39 +0200 (CEST) From: Eric Botcazou To: Richard Guenther Subject: Re: [google]: initialize language field for clone function struct Date: Thu, 05 May 2011 09:25:00 -0000 User-Agent: KMail/1.9.9 Cc: gcc-patches@gcc.gnu.org, Xinliang David Li , Jan Hubicka References: <201105041914.14958.ebotcazou@adacore.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201105051123.34184.ebotcazou@adacore.com> 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: 2011-05/txt/msg00388.txt.bz2 > Sure, but that's a limitation of out SAVE_EXPR handling (given that it > would be ok to expand the SAVE_EXPR multiple times - once per > "instantiation context"). You need to expand the initializer exactly once and you need to make sure that this occurrence is invoked before all the others at run time. Not trivial. -- Eric Botcazou