Linus Torvalds writes: (Summary) On Fri, Mar 16, 2018 at 1:03 PM, Miguel Ojeda
<miguel.ojeda.sandonis@gmail.com> wrote:
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.
<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.