From patchwork Wed Nov 17 11:59:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 71555 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 8EDB1B8215 for ; Wed, 17 Nov 2010 23:02:11 +1100 (EST) Received: (qmail 8152 invoked by alias); 17 Nov 2010 12:02:06 -0000 Received: (qmail 8143 invoked by uid 22791); 17 Nov 2010 12:02:05 -0000 X-SWARE-Spam-Status: No, hits=-2.0 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; Wed, 17 Nov 2010 12:00:40 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id CC8B0CB025A for ; Wed, 17 Nov 2010 13:00:38 +0100 (CET) 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 QMW+KQ0LOVC5 for ; Wed, 17 Nov 2010 13:00:38 +0100 (CET) Received: from [192.168.1.2] (bon31-9-83-155-120-49.fbx.proxad.net [83.155.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id A9059CB01F7 for ; Wed, 17 Nov 2010 13:00:38 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: [Ada] Rewrite obsolete comment Date: Wed, 17 Nov 2010 12:59:43 +0100 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Message-Id: <201011171259.43607.ebotcazou@adacore.com> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Tested on i586-suse-linux, applied on the mainline 2010-11-17 Eric Botcazou * gcc-interface/trans.c (addressable_p): Rewrite obsolete paragraph in head comment. Index: gcc-interface/trans.c =================================================================== --- gcc-interface/trans.c (revision 166863) +++ gcc-interface/trans.c (working copy) @@ -7287,10 +7287,11 @@ smaller_form_type_p (tree type, tree ori that Gigi must make sure that such operations cannot be applied to non-BLKmode bit-fields. - The second goal is achieved by means of the addressable_p predicate - and by inserting SAVE_EXPRs around trees deemed non-addressable. - They will be turned during gimplification into proper temporaries - whose address will be used in lieu of that of the original tree. */ + The second goal is achieved by means of the addressable_p predicate, + which computes whether a temporary must be inserted by Gigi when the + address of a tree is requested; if so, the address of the temporary + will be used in lieu of that of the original tree and some glue code + generated to connect everything together. */ static bool addressable_p (tree gnu_expr, tree gnu_type)