This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/59310] FAIL: gcc.dg/gomp/openmp-simd-1.c (test for excess errors)


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]