From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16672 invoked by alias); 11 Sep 2010 00:21:41 -0000 Received: (qmail 16662 invoked by uid 22791); 11 Sep 2010 00:21:40 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-vw0-f47.google.com (HELO mail-vw0-f47.google.com) (209.85.212.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 11 Sep 2010 00:21:34 +0000 Received: by vws9 with SMTP id 9so3214069vws.20 for ; Fri, 10 Sep 2010 17:21:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.93.17 with SMTP id t17mr877496vcm.266.1284164489653; Fri, 10 Sep 2010 17:21:29 -0700 (PDT) Received: by 10.220.78.193 with HTTP; Fri, 10 Sep 2010 17:21:29 -0700 (PDT) In-Reply-To: <20100908164349.353922665@virgil.suse.cz> References: <20100908164332.622577593@virgil.suse.cz> <20100908164349.353922665@virgil.suse.cz> Date: Sat, 11 Sep 2010 02:09:00 -0000 Message-ID: Subject: Re: [PATCH 1/2] Remove the IPA-SRA call to build_ref_for_offset From: "H.J. Lu" To: Martin Jambor Cc: GCC Patches , Richard Guenther Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2010-09/txt/msg00995.txt.bz2 On Wed, Sep 8, 2010 at 9:43 AM, Martin Jambor wrote: > Hi, > > this is the same patch I sent here in August: > http://gcc.gnu.org/ml/gcc-patches/2010-08/msg00609.html > > It reimplements parameter alterations in callers of a function being > modified by IPA-SRA so that it always produces MEM_REF relying on > force_gimple_operand_gsi to break up refs if necessary (e.g. if we > have a mem_ref of an addr_expr of an array_ref with variable index of > another mem_ref etc...). > > I have bootstrapped and tested this patch separately on x86_64-linux. > OK for trunk? > > Thanks, > > Martin > > > 2010-08-08 =A0Martin Jambor =A0 > > =A0 =A0 =A0 =A0PR tree-optimization/44972 > =A0 =A0 =A0 =A0* ipa-prop.c (ipa_modify_call_arguments): Build MEM_REF in= stead of > =A0 =A0 =A0 =A0calling build_ref_for_offset. > > =A0 =A0 =A0 =A0* testsuite/g++.dg/torture/pr34850.C: Remove expected warn= ing. > This caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D45644 --=20 H.J.