Re: [PATCH] kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig

2019-02-27 Thread Masahiro Yamada
On Fri, Feb 22, 2019 at 9:53 AM Nick Desaulniers wrote: > > On Wed, Feb 20, 2019 at 8:14 PM Masahiro Yamada > wrote: > > > > Since -Wmaybe-uninitialized was introduced by GCC 4.7, we have patched > > various false positives: > > > > - commit e74fc973b6e5 ("Turn off -Wmaybe-uninitialized when

Re: [PATCH] kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig

2019-02-21 Thread Nick Desaulniers
On Wed, Feb 20, 2019 at 8:14 PM Masahiro Yamada wrote: > > Since -Wmaybe-uninitialized was introduced by GCC 4.7, we have patched > various false positives: > > - commit e74fc973b6e5 ("Turn off -Wmaybe-uninitialized when building >with -Os") turned off this option for -Os. > > - commit

Re: [PATCH] kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig

2019-02-21 Thread Arnd Bergmann
On Thu, Feb 21, 2019 at 10:45 AM Masahiro Yamada wrote: > On Thu, Feb 21, 2019 at 6:23 PM Arnd Bergmann wrote: > > On Thu, Feb 21, 2019 at 5:14 AM Masahiro Yamada > > wrote: > > > > I like how this cleans up the logic and documents it better. > > I've had my own plans to move this (and most

Re: [PATCH] kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig

2019-02-21 Thread Masahiro Yamada
On Thu, Feb 21, 2019 at 6:23 PM Arnd Bergmann wrote: > > On Thu, Feb 21, 2019 at 5:14 AM Masahiro Yamada > wrote: > > > > Since -Wmaybe-uninitialized was introduced by GCC 4.7, we have patched > > various false positives: > > > > - commit e74fc973b6e5 ("Turn off -Wmaybe-uninitialized when

Re: [PATCH] kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig

2019-02-21 Thread Arnd Bergmann
On Thu, Feb 21, 2019 at 5:14 AM Masahiro Yamada wrote: > > Since -Wmaybe-uninitialized was introduced by GCC 4.7, we have patched > various false positives: > > - commit e74fc973b6e5 ("Turn off -Wmaybe-uninitialized when building >with -Os") turned off this option for -Os. > > - commit

Re: [PATCH] kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig

2019-02-20 Thread Nathan Chancellor
On Thu, Feb 21, 2019 at 01:13:38PM +0900, Masahiro Yamada wrote: > Since -Wmaybe-uninitialized was introduced by GCC 4.7, we have patched > various false positives: > > - commit e74fc973b6e5 ("Turn off -Wmaybe-uninitialized when building >with -Os") turned off this option for -Os. > > -

[PATCH] kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig

2019-02-20 Thread Masahiro Yamada
Since -Wmaybe-uninitialized was introduced by GCC 4.7, we have patched various false positives: - commit e74fc973b6e5 ("Turn off -Wmaybe-uninitialized when building with -Os") turned off this option for -Os. - commit 815eb71e7149 ("Kbuild: disable 'maybe-uninitialized' warning for