This is the mail archive of the
mailing list for the glibc project.
Re: Don't use -Wno-uninitialized in math/
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Stan Shebs <stanshebs at google dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Thu, 20 Aug 2015 21:27:41 +0000
- Subject: Re: Don't use -Wno-uninitialized in math/
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1508201800380 dot 30940 at digraph dot polyomino dot org dot uk> <CA+5-Q5Kqy50Ar1KLPfV9WuAfzhDTY7qNYgsJCT1Oxizj9wnphg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1508202043180 dot 994 at digraph dot polyomino dot org dot uk> <CA+5-Q5+oNhodZahDiUmogp+A2wbbXnwTaF9TmMccSwfN37Op=g at mail dot gmail dot com>
On Thu, 20 Aug 2015, Stan Shebs wrote:
> Yes, that works, thanks! I notice that there are several pre-existing
> instances of this pattern, but some list 4.9 and others list 5 as the
> version - does anybody know if there is a canonical minimal GCC
> version for the better uninitialized warning, or is it just whatever
> was getting tested at the time?
The version listed with the DIAG_* macros is always the version that is
observed to have the bad warning - the point of the version number is to
indicate to recheck if the bad warning is still seen after support for
that version is obsoleted. It's whatever someone was testing with, not
necessarily the most recent version with the bad warning (so if listed as
4.8, it may well still be the case that the warning is present with
current GCC trunk).
Joseph S. Myers