From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63005 invoked by alias); 3 Sep 2019 18:40:49 -0000 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 Received: (qmail 62997 invoked by uid 89); 3 Sep 2019 18:40:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Sep 2019 18:40:47 +0000 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6416230860A8; Tue, 3 Sep 2019 18:40:46 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-3.rdu2.redhat.com [10.10.112.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id ADA1C1001B00; Tue, 3 Sep 2019 18:40:45 +0000 (UTC) Subject: Re: [PATCH] Fix PR 91605 To: Bernd Edlinger , "gcc-patches@gcc.gnu.org" , Richard Biener References: From: Jeff Law Openpgp: preference=signencrypt Message-ID: <8dc7082e-76cf-4191-092e-a6c6672582d6@redhat.com> Date: Tue, 03 Sep 2019 18:40:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00138.txt.bz2 On 9/1/19 4:36 AM, Bernd Edlinger wrote: > Hi, > > this fixes an oversight in r274986. > We need to avoid using movmisalign on DECL_P which are not in memory, > similar to the !mem_ref_refers_to_non_mem_p which unfortunately can't > handle DECL_P. > > > Bootstrapped and reg-tested on x86_64-pc-linux-gnu. > Is it OK for trunk? > > > Thanks > Bernd. > > > patch-pr91605.diff > > 2019-09-01 Bernd Edlinger > > PR middle-end/91605 > * expr.c (expand_assignment): Avoid DECL_P with DECL_RTL > not being MEM_P. > > testsuite: > 2019-09-01 Bernd Edlinger > > PR middle-end/91605 > * g++.target/i386/pr91605.C: New test. OK. Jeff