From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102933 invoked by alias); 5 Oct 2016 16:41:41 -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 102917 invoked by uid 89); 5 Oct 2016 16:41:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=actively 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; Wed, 05 Oct 2016 16:41:31 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A352767326; Wed, 5 Oct 2016 16:41:29 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-162.phx2.redhat.com [10.3.116.162]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u95GfSJn028736; Wed, 5 Oct 2016 12:41:29 -0400 Subject: Re: [PATCH] Fix warnings for profiledbootstrap (PR bootstrap/77788) To: =?UTF-8?Q?Martin_Li=c5=a1ka?= , GCC Patches References: Cc: Martin Sebor , Jakub Jelinek From: Jeff Law Message-ID: <4cfcf9fb-c17d-ed85-23b9-84d71b0997e2@redhat.com> Date: Wed, 05 Oct 2016 16:41:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00291.txt.bz2 On 10/04/2016 03:16 AM, Martin Liška wrote: > Hello. > > In the attached patch I resolve couple of warnings seen during make profiledbootstrap. > I can survive bootstrap on both ppc64le-redhat-linux and x86_64-linux-gnu targets. > > Ready to be installed? > Martin > > > 0001-Fix-warnings-for-make-profiledbootstrap-PR-bootstrap.patch > > > From 510ac204f2e448d244c8eec5ab8aeab85f6041a9 Mon Sep 17 00:00:00 2001 > From: marxin > Date: Mon, 3 Oct 2016 23:17:05 +0200 > Subject: [PATCH] Fix warnings for make profiledbootstrap (PR bootstrap/77788) > > gcc/ChangeLog: > > 2016-10-04 Martin Liska > > PR bootstrap/77788 > * expmed.h (mul_highpart_cost_ptr): Add an gcc_assert. > * gimple-ssa-strength-reduction.c (slsr_process_cast): > Initialize a pointer to NULL. > (slsr_process_copy): Likewise. > * input.c (location_get_source_line): Likewise. > * tree-ssa-ccp.c (optimize_atomic_bit_test_and): Likewise. Presumably what's going on here is that the profiling data is giving the jump threader additional information and the threader is refusing to thread some jumps because they're not profitable. AT least that's how it looks to me. Note the input.c change may not be necessary once the input.c cleanups are done, but I don't think it'd be actively harmful. OK. jeff