https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122877
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also I am 99% sure the bug is related to flag_allow_const_var_array_size part of the patch so this is not an upstream bug. The workaround is -fno-allow-const-var-array-size .
