aboutsummaryrefslogtreecommitdiff
path: root/gcc/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/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/c')
-rw-r--r--gcc/c/c-parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c
index 7f491f1..1d2dac7 100644
--- a/gcc/c/c-parser.c
+++ b/gcc/c/c-parser.c
@@ -10215,7 +10215,7 @@ c_parser_pragma (c_parser *parser, enum pragma_context context, bool *if_p)
c_parser_skip_until_found (parser, CPP_PRAGMA_EOL, NULL);
return false;
- case PRAGMA_OMP_DECLARE_REDUCTION:
+ case PRAGMA_OMP_DECLARE:
c_parser_omp_declare (parser, context);
return false;
@@ -16381,7 +16381,7 @@ c_parser_omp_declare_simd (c_parser *parser, enum pragma_context context)
while (c_parser_next_token_is (parser, CPP_PRAGMA))
{
if (c_parser_peek_token (parser)->pragma_kind
- != PRAGMA_OMP_DECLARE_REDUCTION
+ != PRAGMA_OMP_DECLARE
|| c_parser_peek_2nd_token (parser)->type != CPP_NAME
|| strcmp (IDENTIFIER_POINTER
(c_parser_peek_2nd_token (parser)->value),