[gomp4] Fix combined directives.

James Norris jnorris@codesourcery.com
Mon Oct 27 18:04:00 GMT 2014


Hi!

This patch fixes an issue in handling combined directives. The
code now accepts clauses for both the loop directive and the
other directive, i.e., parallel or kernels.

OK for gomp4 branch?

Thanks!

Jim

ChangeLog

      2014-10-27  James Norris<jnorris@codesourcery.com>

          * c/c-parser.c (c_parser_oacc_loop, OACC_LOOP_CLAUSE_MASK): 
Relocate.
          (c_parser_oacc_kernels, c_parser_oacc_parallel): Fix combined
          directives.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: combdir.patch
Type: text/x-patch
Size: 4560 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141027/aefbd0e5/attachment.bin>


More information about the Gcc-patches mailing list