From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8111664040726693470==" MIME-Version: 1.0 From: Roland McGrath To: elfutils-devel@lists.fedorahosted.org Subject: Re: [PATCH] Do without on-stack variable length arrays. Date: Fri, 04 Sep 2015 13:51:59 -0700 Message-ID: <20150904205200.0308F2C3B20@topped-with-meat.com> In-Reply-To: 1441398221-19423-1-git-send-email-chh@google.com --===============8111664040726693470== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This is misstated. VLAs are a standard feature. What you're avoiding here is VLA members of structs and unions, which are a GNU extension. I also don't think you're doing it the ideal way. A union of two arrays of length one is useless. It might trigger complaints from _FORTIFY_SOURCE or other such bounds-checking tools. --===============8111664040726693470==--