https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122877
--- Comment #12 from Leo Singer <leo.p.singer at nasa dot gov> --- (In reply to Andrew Pinski from comment #11) > (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. Yes, that worked. Thanks for your help! I finally reported this to the right place: https://github.com/iains/gcc-darwin-arm64/issues/149
