https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122877
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #9) > 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 . Can you try this workaround? If it works, then the bug is in the patch.
