aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-06-29 11:07:52 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2016-06-29 11:07:52 +0200
commitf9d8d99478f3b02e55a69b166a70646c87a7f5cd (patch)
tree2ce83b0716acdcfa6592e64d70aac95f55c52a99 /gcc/cp/parser.c
parent5f3cd7c3f31373789dbc8360fa3d46fcaf473f99 (diff)
downloadgcc-f9d8d99478f3b02e55a69b166a70646c87a7f5cd.zip
gcc-f9d8d99478f3b02e55a69b166a70646c87a7f5cd.tar.gz
gcc-f9d8d99478f3b02e55a69b166a70646c87a7f5cd.tar.bz2
Rename PRAGMA_OMP_DECLARE_REDUCTION to PRAGMA_OMP_DECLARE
gcc/c-family/ * c-pragma.h (enum pragma_kind): Rename PRAGMA_OMP_DECLARE_REDUCTION to PRAGMA_OMP_DECLARE. Adjust all users. From-SVN: r237842
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index d1f06fd..739fca0 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -37203,7 +37203,7 @@ cp_parser_pragma (cp_parser *parser, enum pragma_context context, bool *if_p)
parser->lexer->in_pragma = true;
id = cp_parser_pragma_kind (pragma_tok);
- if (id != PRAGMA_OMP_DECLARE_REDUCTION && id != PRAGMA_OACC_ROUTINE)
+ if (id != PRAGMA_OMP_DECLARE && id != PRAGMA_OACC_ROUTINE)
cp_ensure_no_omp_declare_simd (parser);
switch (id)
{
@@ -37310,7 +37310,7 @@ cp_parser_pragma (cp_parser *parser, enum pragma_context context, bool *if_p)
cp_parser_omp_threadprivate (parser, pragma_tok);
return false;
- case PRAGMA_OMP_DECLARE_REDUCTION:
+ case PRAGMA_OMP_DECLARE:
cp_parser_omp_declare (parser, pragma_tok, context);
return false;