This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/59310] FAIL: gcc.dg/gomp/openmp-simd-1.c (test for excess errors)
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 27 Nov 2013 13:32:09 +0000
- Subject: [Bug middle-end/59310] FAIL: gcc.dg/gomp/openmp-simd-1.c (test for excess errors)
- Auto-submitted: auto-generated
- References: <bug-59310-4 at http dot gcc dot gnu dot org/bugzilla/>
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"