On 07/08/2014 07:28 AM, Cesar Philippidis wrote: > Thanks for catching those problems! I've committed this updated version > of the patch.
I forgot to remove the support for the collapse clause in from the loop construct in the c frontend. I did so upstream, but not internally. I've checked in this patch which fixes that. Thomas, I don't know how you manage so many different branches. Cesar
2014-07-08 Cesar Philippidis <ce...@codesourcery.com> gcc/c/ *c-parser.c (OACC_LOOP_CLAUSE_MASK): Remove PRAGMA_OMP_CLAUSE_COLLAPSE from theh mask. diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index 66d5444..fb7e12d 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -11906,8 +11906,7 @@ c_parser_oacc_kernels (location_t loc, c_parser *parser, char *p_name) */ #define OACC_LOOP_CLAUSE_MASK \ - ( (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_COLLAPSE) \ - | (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_REDUCTION)) + (OMP_CLAUSE_MASK_1 << PRAGMA_OMP_CLAUSE_REDUCTION) static tree c_parser_oacc_loop (location_t loc, c_parser *parser, char *p_name)