Messages in this thread | | | From | Linus Torvalds <> | Date | Mon, 19 Mar 2018 16:29:28 -0700 | Subject | Re: [PATCH v5 0/2] Remove false-positive VLAs when using max() |
| |
On Mon, Mar 19, 2018 at 2:43 AM, David Laight <David.Laight@aculab.com> wrote: > > Is it necessary to have the full checks for old versions of gcc? > > Even -Wvla could be predicated on very recent gcc - since we aren't > worried about whether gcc decides to generate a vla, but whether > the source requests one.
You are correct. We could just ignore the issue with old gcc versions, and disable -Wvla rather than worry about it.
Linus
| |