[Bug c/101289] bogus -Wvla-paramater warning when using const for vla param

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 1 22:43:45 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.2
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |msebor at gcc dot gnu.org
   Last reconfirmed|                            |2021-07-01

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed.  The root cause is the same as in pr97548 even though the test case
here is quite different.  They're both worth adding to the test suite.


More information about the Gcc-bugs mailing list