Quantcast
Channel: lkml.org : Ganesh Sittampalam
Viewing all articles
Browse latest Browse all 627

Re: [PATCH v5 0/2] Remove false-positive VLAs when using max()

$
0
0
Linus Torvalds writes: (Summary) On Fri, Mar 16, 2018 at 1:03 PM, Miguel Ojeda
<miguel.ojeda.sandonis@gmail.com> wrote:

[...]

https://godbolt.org/
Well, my *test* code works on that one and -Wvla -Werror. Well, my *test* code works on that one and -Wvla -Werror. It does not work with gcc-4.1.x, but works with gcc-4.4.x. It does not work with gcc-4.1.x, but works with gcc-4.4.x. Odd that you can't view warnings/errors with it.
Odd that you can't view warnings/errors with it.
But it's possible that it fails on more complex stuff in the kernel.

Viewing all articles
Browse latest Browse all 627

Trending Articles