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

From
David Laight <hidden>
Date
2018-03-19 09:43:13
Also in
lkml, netdev
Reply to
Linus Torvalds, 2018-03-18
From: <redacted> [mailto:<redacted>] On Behalf Of Linus Torvalds
Sent: 18 March 2018 23:36
...
Yeah, and since we're in the situation that *new* gcc versions work
for us anyway, and we only have issues with older gcc's (that sadly
people still use), even if there was a new cool feature we couldn't
use it.
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.

	David
Thread (37 messages) 37 messages, 10 authors, last reply 2018-03-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help