http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59310
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at redhat dot com --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- There are char p_name[sizeof ("#pragma omp target teams distribute " "parallel for simd")]; c_parser_consume_token (parser); if (!flag_openmp) /* flag_openmp_simd */ return c_parser_omp_teams (loc, parser, p_name, OMP_TARGET_CLAUSE_MASK, cclauses); But we are appending "simd" to "I teams distribute simd teams distribute parallel for" and we overwrite stack allocated for "#pragma omp target teams distribute parallel for simd"