From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9212 invoked by alias); 3 May 2011 20:33:41 -0000 Received: (qmail 9203 invoked by uid 22791); 3 May 2011 20:33:40 -0000 X-SWARE-Spam-Status: No, hits=-2.1 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; Tue, 03 May 2011 20:33:27 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 33B49CB0266; Tue, 3 May 2011 22:33:26 +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 P0pHplcaQhrB; Tue, 3 May 2011 22:33:23 +0200 (CEST) Received: from new-host.home (ADijon-552-1-151-3.w86-213.abo.wanadoo.fr [86.213.234.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 2373CCB0222; Tue, 3 May 2011 22:33:22 +0200 (CEST) From: Eric Botcazou To: "Joseph S. Myers" Subject: Re: [google]: initialize language field for clone function struct Date: Tue, 03 May 2011 20:36:00 -0000 User-Agent: KMail/1.9.9 Cc: Jan Hubicka , gcc-patches@gcc.gnu.org, Xinliang David Li References: <201105032151.17713.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: <201105032233.07611.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/msg00225.txt.bz2 > C returns -1 from global_bindings_p, as does Ada. That the languages that > probably care most about variable-size types find aspects of the generic > function need overriding like that should be a good indication that it > isn't really that generic - as I said above, semantics for variable sizes > are very front-end-specific. I think that a large chunk of the non-generic code can be removed because it is either useless (the error) or obsolete (pending_size) in the 4.x series. After that, if you prefer to make this particular function FE-specific, fine with me, but they will all essentially look alike. -- Eric Botcazou