From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104780 invoked by alias); 18 Mar 2015 04:22:18 -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 104770 invoked by uid 89); 18 Mar 2015 04:22:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f176.google.com Received: from mail-pd0-f176.google.com (HELO mail-pd0-f176.google.com) (209.85.192.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 18 Mar 2015 04:22:16 +0000 Received: by pdnc3 with SMTP id c3so30478210pdn.0 for ; Tue, 17 Mar 2015 21:22:14 -0700 (PDT) X-Received: by 10.66.248.132 with SMTP id ym4mr105739828pac.147.1426652534653; Tue, 17 Mar 2015 21:22:14 -0700 (PDT) Received: from bubble.grove.modra.org (CPE-58-160-155-134.oycza5.sa.bigpond.net.au. [58.160.155.134]) by mx.google.com with ESMTPSA id qa1sm24917613pdb.84.2015.03.17.21.22.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Mar 2015 21:22:13 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id F1BD7EA0139; Wed, 18 Mar 2015 14:52:08 +1030 (ACDT) Date: Wed, 18 Mar 2015 04:22:00 -0000 From: Alan Modra To: Jeff Law Cc: gcc-patches@gcc.gnu.org Subject: Re: Fix for PRs 36043, 58744 and 65408 Message-ID: <20150318042208.GD24573@bubble.grove.modra.org> Mail-Followup-To: Jeff Law , gcc-patches@gcc.gnu.org References: <20150314130238.GD16488@bubble.grove.modra.org> <55088069.3010802@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55088069.3010802@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00896.txt.bz2 On Tue, Mar 17, 2015 at 01:28:41PM -0600, Jeff Law wrote: > On 03/14/2015 07:02 AM, Alan Modra wrote: > > PR target/65408 > > PR target/58744 > > PR middle-end/36043 > > * calls.c (load_register_parameters): Don't load past end of > > mem unless suitably aligned. > I think this is probably a stage1 item. Richi, Jakub, Joseph, do any of you > think we should try to push this into gcc-5? Some (severity) background to PR65408. The bug came from SAP HANA (en.wikipedia.org/wiki/SAP_HANA), a crash that happens on powerpc64 and powerpc64le. aarch64 would also be susceptible to the crash since it also loads 16 bytes for the 12-byte struct. x86_64 only loads 12 bytes (i386.c:construct_container generates a parallel with a DImode and SImode load). However the underlying bug is there and hits x86_64 too for the pr58744 and pr36043 testcases.. -- Alan Modra Australia Development Lab, IBM