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

From: Linus Torvalds
Date: Fri Mar 16 2018 - 16:20:08 EST


On Fri, Mar 16, 2018 at 1:14 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> It does not work with gcc-4.1.x, but works with gcc-4.4.x.
>
> I can't seem to see the errors any way, I wonder if
> __builtin_choose_expr() simply didn't exist back then.

No, that goes further back.

It seems to be -Wvla itself that doesn't exist in 4.1, so the test
build failed simply because I used that flag ;)

Linus