From owner-svn-src-head@FreeBSD.ORG Wed May 15 05:25:29 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B594E1DD; Wed, 15 May 2013 05:25:29 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail1.ozon.ru (mx4.ozon.ru [194.186.179.140]) by mx1.freebsd.org (Postfix) with ESMTP id E654BC14; Wed, 15 May 2013 05:25:28 +0000 (UTC) Received: from intmail03msk.ozon (intmail03msk.ozon [10.18.18.171]) by mail1.ozon.ru (Postfix) with ESMTP id 1ECA971AA4B; Wed, 15 May 2013 09:25:07 +0400 (MSK) Received: from mail pickup service by intmail03msk.ozon with Microsoft SMTPSVC; Wed, 15 May 2013 09:06:07 +0400 Received: from intmail03msk.ozon ([10.18.18.171]) by intmail02msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 May 2013 10:53:38 +0400 Received: from mail1.ozon.ru ([194.186.179.140]) by intmail03msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 May 2013 10:53:36 +0400 Received: from localhost (localhost [127.0.0.1]) by mail1.ozon.ru (Postfix) with ESMTP id 19880719919 for ; Mon, 13 May 2013 10:53:37 +0400 (MSK) X-Virus-Scanned: amavisd-new at ozon.ru Received: from mail1.ozon.ru ([127.0.0.1]) by localhost (mx4.ozon.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5er21GrjVW8w for ; Mon, 13 May 2013 10:53:31 +0400 (MSK) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received-SPF: pass (freebsd.org: 8.8.178.116 is authorized to use 'owner-svn-src-all@freebsd.org' in 'mfrom' identity (mechanism 'ip4:8.8.178.116' matched)) receiver=mx4.ozon.ru; identity=mfrom; envelope-from="owner-svn-src-all@freebsd.org"; helo=mx2.freebsd.org; client-ip=8.8.178.116 Received: from mx2.freebsd.org (mx2.FreeBSD.org [8.8.178.116]) by mail1.ozon.ru (Postfix) with ESMTP id B6F54719A13 for ; Mon, 13 May 2013 10:53:30 +0400 (MSK) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id CC64F2FBD; Mon, 13 May 2013 06:53:29 +0000 (UTC) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by hub.freebsd.org (Postfix) with ESMTP id 539372CE; Mon, 13 May 2013 06:53:29 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6D369165 for ; Mon, 13 May 2013 06:53:17 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2F40A9A7 for ; Mon, 13 May 2013 06:53:16 +0000 (UTC) Received: by mail-vc0-f178.google.com with SMTP id id13so1902542vcb.9 for ; Sun, 12 May 2013 23:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=gBH0JeiCFSBYLMNBVYadiKSnJL3bNbGpizDZMcbYa1A=; b=n7LFosYopL6nSSsBmnPGhWX6PLf1b5AuHoFnnHYb3gTWdJBkqK9tTsgtvNCgR3BoFA 3QM8rSbtc4JssVOE3TPlnjf5l6bRnmQg8yHVbPvNJhqee/KsKib0D7CqhVLxfiJcldhf 6UylnqKSpRykTnFHJy3g0rXLKV6XADS4MewgI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=gBH0JeiCFSBYLMNBVYadiKSnJL3bNbGpizDZMcbYa1A=; b=AyBqxN3Ur+gHHb9DD/JLJtUR35Wyl8iRSx70iSt0lw2DPhKMBe3+OvPLZF4IEhr+RX fbalzkiI+kCsj6uoWjtk2FBvuE1MTNDmP7dcmZnl6K3R7TeVaHlWfVo/jNayvoHcRhGO yoLKehLozyYkfLGILt8Q5N4wwuHoLNxhXYOjm2yTDfyiwgoui0xaVIpVdt/NN+GLPF9R 6HDMTx2ZECv3UmgaV0ibs+uMYfGsrltPBOU8UEd9CFcWUKugysL/ez3ORJ6lIQESeaYq p1xkDEnwzwshJ/8+rvqmCqkTyiqtCpsEYkI8R/Owwxf0NGY7FC+v5yTNkMilBlJ1SitC AzAw== MIME-Version: 1.0 X-Received: by 10.58.54.101 with SMTP id i5mr17589481vep.43.1368427996201; Sun, 12 May 2013 23:53:16 -0700 (PDT) Received: by 10.220.197.66 with HTTP; Sun, 12 May 2013 23:53:16 -0700 (PDT) In-Reply-To: <51900E57.80608@rice.edu> References: <201305121650.r4CGoJL0087149@svn.freebsd.org> <51900B97.20406@freebsd.org> <51900E57.80608@rice.edu> Date: Sun, 12 May 2013 23:53:16 -0700 Message-ID: Subject: Re: svn commit: r250577 - head/sys/vm From: Peter Wemm To: Alan Cox X-Gm-Message-State: ALoCoQmKNftaHnr4f93aMcal04vdXQucYHJcMocpxHXXvdZER196PEjanery7RZY2kxRp1mn13V9 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: owner-svn-src-all@freebsd.org Sender: owner-svn-src-all@freebsd.org X-OriginalArrivalTime: 13 May 2013 06:53:36.0861 (UTC) FILETIME=[97B378D0:01CE4FA6] Cc: Alan Cox , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Andrey Chernov X-BeenThere: svn-src-head@freebsd.org List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 05:25:29 -0000 On Sun, May 12, 2013 at 2:49 PM, Alan Cox wrote: > On 05/12/2013 16:37, Andrey Chernov wrote: >> On 12.05.2013 20:50, Alan Cox wrote: >> >> GNU cc errors related to part of diff below: >> cc1: warnings being treated as errors >> ../../../vm/vm_page.c: In function 'vm_page_alloc': >> ../../../vm/vm_page.c:1209: warning: 'mpred' may be used uninitialized >> in this function >> *** [vm_page.o] Error code 1 >> Formally yes, mpred here can be left unitialized. > > No, it can't. The code amounts to > > if ("x") > mpred = ... ; > ... > if ("x") > use mpred; > ... > if ("x") > use mpred; > > where "x" is "object != NULL". Moreover, there are no assignments to > the variable "object" or aliases by which the variable "object" can be > modified over the lifespan of "mpred". So, this is flawed analysis by > our antique gcc. Regardless of who's right or wrong, you've broken about half the freebsd.org cluster. It uses a mixture of gcc and clang to catch sillyness like this. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"