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

From: Al Viro
Date: Fri Mar 16 2018 - 16:18:27 EST


On Fri, Mar 16, 2018 at 01:15:27PM -0700, Linus Torvalds wrote:
> On Fri, Mar 16, 2018 at 1:12 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > That's C99, straight from N1256.pdf (C99-TC3)...
>
> I checked C90, since the error is
>
> ISO C90 forbids variable length array
>
> and I didn't see anything there.

Well, yes - VLA are new in C99; C90 never had those...