Re: [PATCH] kbuild: add some extra warning flags unconditionally

2019-05-12 Thread Masahiro Yamada
On Fri, May 10, 2019 at 1:47 AM Nick Desaulniers wrote: > > From: Masahiro Yamada > > On Thu, May 9, 2019 at 4:11 PM Sedat Dilek wrote: > > > BTW, is this a speedup when doing CC/LD FLAGS etc checks unconditionally? > > > > Yes. > > cc-option is somewhat costly because it invoked the compiler to

Re: [PATCH] kbuild: add some extra warning flags unconditionally

2019-05-09 Thread Nick Desaulniers
From: Masahiro Yamada > On Thu, May 9, 2019 at 4:11 PM Sedat Dilek wrote: > > BTW, is this a speedup when doing CC/LD FLAGS etc checks unconditionally? > > Yes. > cc-option is somewhat costly because it invoked the compiler to > check if the given flag is supported. > > So, I want to get rid of a

Re: [PATCH] kbuild: add some extra warning flags unconditionally

2019-05-09 Thread Nathan Chancellor
On Thu, May 09, 2019 at 03:46:35PM +0900, Masahiro Yamada wrote: > These flags are documented in the GCC 4.6 manual, and recognized by > Clang as well. Let's rip off the cc-option / cc-disable-warning switches. > > Signed-off-by: Masahiro Yamada Reviewed-by: Nathan Chancellor > --- > > scrip

Re: [PATCH] kbuild: add some extra warning flags unconditionally

2019-05-09 Thread Masahiro Yamada
On Thu, May 9, 2019 at 4:11 PM Sedat Dilek wrote: > > On Thu, May 9, 2019 at 8:47 AM Masahiro Yamada > wrote: > > > > These flags are documented in the GCC 4.6 manual, and recognized by > > Clang as well. Let's rip off the cc-option / cc-disable-warning switches. > > > > BTW, is this a speedup wh

Re: [PATCH] kbuild: add some extra warning flags unconditionally

2019-05-09 Thread Sedat Dilek
On Thu, May 9, 2019 at 8:47 AM Masahiro Yamada wrote: > > These flags are documented in the GCC 4.6 manual, and recognized by > Clang as well. Let's rip off the cc-option / cc-disable-warning switches. > BTW, is this a speedup when doing CC/LD FLAGS etc checks unconditionally? Asking in general -