https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77343
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2021-08-25 00:00:00 |2024-3-24 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note the corrected testcase is: ``` int crypto_cbc_decrypt_inplace(int bsize) { unsigned char last_iv[bsize]; } ``` That is you need to remove the static.