From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120293 invoked by alias); 13 Jun 2019 20:28:04 -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 120285 invoked by uid 89); 13 Jun 2019 20:28:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=H*f:sk:CAKdteO, H*i:sk:CAKdteO X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Jun 2019 20:28:02 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 34E2B28226A; Thu, 13 Jun 2019 22:27:59 +0200 (CEST) Date: Thu, 13 Jun 2019 20:28:00 -0000 From: Jan Hubicka To: Christophe Lyon Cc: Richard Biener , gcc Patches , d@dcepelik.cz Subject: Re: indirect_ref_may_alias_decl_p fix Message-ID: <20190613202759.bdhem7sdfpo3oyri@kam.mff.cuni.cz> References: <20190613120550.7wtzpieeszazjn7i@kam.mff.cuni.cz> <20190613122928.arp65f726mbnsxyz@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2019-06/txt/msg00796.txt.bz2 > Hi! > > Since this was committed (r272247), I've noticed a failure to build > glibc-2.29 for aarch64: > #'target_mem_ref' not supported by expression#'pmap_rmt.c: In function > 'clnt_broadcast': > pmap_rmt.c:298:19: error: may be used uninitialized in this function > [-Werror=maybe-uninitialized] > 298 | baddr.sin_addr = addrs[i]; > | ~~~~~~~~~~~~~~~^~~~~~~~~~ > > while compiling sunrpc/pmap_rmt.os It is hard to tell w/o preprocessed source, but looking at https://github.com/lattera/glibc/blob/master/sunrpc/pmap_rmt.c addrs is initialized by getbroadcastnests which has early exit when getifaddrs fails leaving adds uninitialized. So this may be just an usual false positive of -Wmaybe-uninitialized caused by better optimization :) Honza > > Christophe > > > > > Honza