https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I think this code has undefined code in it. double sm0[max_DQ*max_DQ*max_DQ]; double (*u)[max_D1D][max_D1D] = (double (*)[max_D1D][max_D1D]) sm0; That seems questionable.