From owner-freebsd-stable@FreeBSD.ORG Tue Jul 15 09:25:44 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75CC3B18; Tue, 15 Jul 2014 09:25:44 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 301872078; Tue, 15 Jul 2014 09:25:43 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 7442F1FE027; Tue, 15 Jul 2014 11:25:40 +0200 (CEST) Message-ID: <53C4F39E.2030407@selasky.org> Date: Tue, 15 Jul 2014 11:25:50 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: David Chisnall , Dimitry Andric Subject: bsd.sys.mk [-Wno-uninitialized] References: <20140704123901.GR6056@albert.catwhisker.org> <53B6E218.5070009@selasky.org> <20140704174705.GS6056@albert.catwhisker.org> <53B6EDD1.8030506@selasky.org> <20140704181831.GV6056@albert.catwhisker.org> <909248A4-1B7C-4836-ADAA-F81A70A8AC3C@theravensnest.org> <771D269B-AC6D-4686-ABB0-04F7DCD3A8D9@FreeBSD.org> In-Reply-To: <771D269B-AC6D-4686-ABB0-04F7DCD3A8D9@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, "current@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2014 09:25:44 -0000 On 07/05/14 15:10, David Chisnall wrote: > On 5 Jul 2014, at 14:07, Dimitry Andric wrote: > >> Interestingly, -Wno-uninitialized has been in bsd.sys.mk since r76861, >> and the accompanying comment ("XXX Delete -Wuninitialized by default for >> now -- the compiler doesn't always get it right") has never been >> changed. :-) >> >> It is probably time to re-enable that warning after 13 years, at least. > > It probably only wants enabling for clang. GCC (at least, GCC 4.2.1) performs this analysis based on analyses run by the optimisers and so the warnings are dependent on optimisation level. > > David Hi, Is someone working on this? --HPS