From patchwork Thu Sep 26 08:02:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 278131 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3EF0D2C0335 for ; Thu, 26 Sep 2013 18:04:32 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=K8eCSSKcYaKuUz24 FozXqv46ebUNHjPGar6yXT+prPOPtJ2YjwVHG1auho0D9Z8HkTk0yf72ig5EXj0Z i3ipLXCr8lEE5moeHY8/1POrRsvjR9EO8UwAN5OeEKuzskFj+rixxLup0LTbi4lf OddhYXtukHfoQHp2VCD7TEqR32o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=OPwwb+C0v/3RSsM6pgJCiH qGZkg=; b=TGgimqi/4KuVuIKPsvuBwi94w0PlhRd9oluuplsxFfLue20r0sO6a7 5Acn2TBMWZZ55pDKXsH0LCSqsmvL2OV7muVQ2aqoYP9/XDNYJQzvWTNwWatHlBm8 cnTH9L0um3sJmv7EyyGfkOOnTtzDqk4eF+8JXHBxcfgNW4pZFAzWY= Received: (qmail 25091 invoked by alias); 26 Sep 2013 08:04:23 -0000 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 Received: (qmail 25077 invoked by uid 89); 26 Sep 2013 08:04:22 -0000 Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 26 Sep 2013 08:04:22 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=ALL_TRUSTED, AWL, BAYES_00, SPAM_SUBJECT autolearn=no version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 76A7F2682E9B for ; Thu, 26 Sep 2013 10:04:18 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O7YLayVo1q-p for ; Thu, 26 Sep 2013 10:04:18 +0200 (CEST) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 58FEF2682DE8 for ; Thu, 26 Sep 2013 10:04:18 +0200 (CEST) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Remove obsolete comment Date: Thu, 26 Sep 2013 10:02:08 +0200 Message-ID: <2189797.0lbW6MdGev@polaris> User-Agent: KMail/4.7.2 (Linux/3.1.10-1.29-desktop; KDE/4.7.2; x86_64; ; ) MIME-Version: 1.0 The first part is obsolete since r91570 at least, for the second part about MEM_KEEP_ALIAS_SET_P it's more recent. Tested on x86_64-suse-linux, applied on the mainline. 2013-09-26 Eric Botcazou * expr.c (expand_assignment): Remove obsolete comment. Index: expr.c =================================================================== --- expr.c (revision 202912) +++ expr.c (working copy) @@ -4836,11 +4836,7 @@ expand_assignment (tree to, tree from, b /* If the field is at offset zero, we could have been given the DECL_RTX of the parent struct. Don't munge it. */ to_rtx = shallow_copy_rtx (to_rtx); - set_mem_attributes_minus_bitpos (to_rtx, to, 0, bitpos); - - /* Deal with volatile and readonly fields. The former is only - done for MEM. Also set MEM_KEEP_ALIAS_SET_P if needed. */ if (volatilep) MEM_VOLATILE_P (to_rtx) = 1; }