From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33051 invoked by alias); 19 Mar 2017 16:06: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 33038 invoked by uid 89); 19 Mar 2017 16:06:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 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; Sun, 19 Mar 2017 16:06:47 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AEF17C054C58; Sun, 19 Mar 2017 16:06:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AEF17C054C58 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=law@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com AEF17C054C58 Received: from localhost.localdomain (ovpn-116-108.phx2.redhat.com [10.3.116.108]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3DC4D62927; Sun, 19 Mar 2017 16:06:47 +0000 (UTC) Subject: Re: [BUILDROBOT] Maybe uninitialized warnings in mips targets To: Jan-Benedict Glaw , Richard Biener , Matthew Fortune , Catherine Moore References: <20170302103640.GM1849@tucnak> <20170318182053.GC32126@lug-owl.de> Cc: Jakub Jelinek , gcc-patches@gcc.gnu.org From: Jeff Law Message-ID: <658762aa-5b72-4e54-9888-7db0eab76a54@redhat.com> Date: Sun, 19 Mar 2017 16:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170318182053.GC32126@lug-owl.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00994.txt.bz2 On 03/18/2017 12:20 PM, Jan-Benedict Glaw wrote: > Hi Richard, Catherine, Matthew > > On Thu, 2017-03-02 14:40:46 +0100, Richard Biener wrote: > [...] >> On IRC we decided to wait&see for the TREE_NO_WARNING issue. So the >> following is what I committed. >> >> Bootstrapped / tested on x86_64-unknown-linux-gnu. > [...] >> 2017-03-02 Richard Biener >> >> PR tree-optimization/79345 >> PR c++/42000 >> * tree-ssa-alias.c (walk_aliased_vdefs_1): Take a limit >> param and abort the walk, returning -1 if it is hit. >> (walk_aliased_vdefs): Take a limit param and pass it on. >> * tree-ssa-alias.h (walk_aliased_vdefs): Add a limit param, >> defaulting to 0 and return a signed int. >> * tree-ssa-uninit.c (struct check_defs_data): New struct. >> (check_defs): New helper. >> (warn_uninitialized_vars): Use walk_aliased_vdefs to warn >> about uninitialized memory. >> >> * fixed-value.c (fixed_from_string): Use ulow/uhigh to avoid >> bogus uninitialized warning. >> (fixed_convert_from_real): Likewise. >> >> * g++.dg/warn/Wuninitialized-7.C: New testcase. >> * c-c++-common/ubsan/bounds-2.c: Add -Wno-uninitialized. >> * gcc.dg/uninit-pr19430-2.c: Add expected warning. > > When building with config-list.mk, it seems to break for all of the > listed MIPS targets, but not on any other architecture: Yes. The improved uninitialized memory warnings are catching some things that were previously missed. I've got fixes for all the MIPS thingies in a local tree, but haven't submitted them (yet). jeff