Date: Tue, 12 Aug 2014 16:07:21 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-stable@freebsd.org Cc: Hans Petter Selasky <hps@selasky.org>, Dimitry Andric <dim@freebsd.org>, stable@freebsd.org, David Chisnall <theraven@freebsd.org>, "current@freebsd.org" <current@freebsd.org> Subject: Re: bsd.sys.mk [-Wno-uninitialized] Message-ID: <201408121607.21743.jhb@freebsd.org> In-Reply-To: <53C4F39E.2030407@selasky.org> References: <20140704123901.GR6056@albert.catwhisker.org> <771D269B-AC6D-4686-ABB0-04F7DCD3A8D9@FreeBSD.org> <53C4F39E.2030407@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, July 15, 2014 5:25:50 am Hans Petter Selasky wrote: > On 07/05/14 15:10, David Chisnall wrote: > > On 5 Jul 2014, at 14:07, Dimitry Andric <dim@FreeBSD.org> 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? If not, at least add a PR so it is harder to drop? -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408121607.21743.jhb>