From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61664 invoked by alias); 3 Mar 2015 00:23:51 -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 60883 invoked by uid 89); 3 Mar 2015 00:23:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 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-ig0-f177.google.com Received: from mail-ig0-f177.google.com (HELO mail-ig0-f177.google.com) (209.85.213.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 03 Mar 2015 00:23:48 +0000 Received: by igqa13 with SMTP id a13so22265665igq.0 for ; Mon, 02 Mar 2015 16:23:46 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.42.39.147 with SMTP id h19mr33605640ice.91.1425342226716; Mon, 02 Mar 2015 16:23:46 -0800 (PST) Received: by 10.36.77.66 with HTTP; Mon, 2 Mar 2015 16:23:46 -0800 (PST) In-Reply-To: <20150302235520.GA17032@ibm-tiger.the-meissners.org> References: <20150302235520.GA17032@ibm-tiger.the-meissners.org> Date: Tue, 03 Mar 2015 00:23:00 -0000 Message-ID: Subject: Re: [PATCH] PR 65138, Fix PowerPC little endian -flto bugs From: David Edelsohn To: Michael Meissner , GCC Patches Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2015-03/txt/msg00111.txt.bz2 On Mon, Mar 2, 2015 at 6:55 PM, Michael Meissner wrote: > This patch fixes PR 65138, which shows up when you configure a compiler on a > 64-bit PowerPC little endian system without using the --with-cpu=power8 > configuration option, and run tests involve -flto. > > The following tests now run when I build a configuration without the > --with-cpu=power8 option: > > c-c++-common/torture/vector-compare-1.c > gcc.c-torture/execute/20050604-1.c > gcc.c-torture/execute/20060420-1.c > gcc.dg/torture/pr45678-1.c > gcc.dg/torture/pr45678-2.c > gcc.dg/torture/vector-1.c > gcc.dg/torture/vector-2.c > > There were no regressions in the run. > > Is it ok to install in the trunk and to back port to GCC 4.9 (and GCC 4.8 if it > is still active)? > > 2015-03-02 Michael Meissner > > PR 65138/target > * config/rs6000/rs6000-cpus.def (powerpc64le): Add new generic > processor type for 64-bit little endian PowerPC. > > * config/rs6000/rs6000.c (rs6000_option_override_internal): If > -mdebug=reg, print TARGET_DEFAULT. Fix logic to use > TARGET_DEFAULT if there is no default cpu. Fix -mdebug=reg > printing built-in mask so it does not pass NULL pointers. > > * doc/invoke.texi (IBM RS/6000 and PowerPC options): Document > -mcpu=powerpc64le. Okay in trunk, 4.9 and 4.8. Thanks, David