aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-08-19 00:16:42 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-08-19 00:16:42 +0000
commit6e529985d8956f74492e3176026fc02dc8f01b6c (patch)
tree95db7f231ee771aff0405cc85162c11486611ec2 /gcc/c
parentf0fca213bc52644ba896da622b35842a6157bd98 (diff)
downloadgcc-6e529985d8956f74492e3176026fc02dc8f01b6c.zip
gcc-6e529985d8956f74492e3176026fc02dc8f01b6c.tar.gz
gcc-6e529985d8956f74492e3176026fc02dc8f01b6c.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog29
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index caeac5b..53abd1a 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,32 @@
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * c-parser.c (c_parser_omp_nothing): New function.
+ (c_parser_pragma): Handle PRAGMA_OMP_NOTHING.
+
+2021-08-18 Jakub Jelinek <jakub@redhat.com>
+
+ * c-parser.c (c_parser_statement_after_labels): Add restart label
+ near the start of the function. If c_parser_pragma returns false,
+ goto restart.
+ (c_parser_pragma): For PRAGMA_OMP_CANCELLATION_POINT return what
+ c_parser_omp_cancellation_point returned. For PRAGMA_OMP_DECLARE
+ return what c_parser_omp_declare returned. Return true instead of
+ false after emitting errors that the directive is not allowed in
+ pragma_stmt context.
+ (c_parser_omp_ordered): Return true instead of
+ false after emitting errors that the directive is not allowed in
+ pragma_stmt context.
+ (c_parser_omp_target_update): Likewise.
+ (c_parser_omp_target_enter_data, c_parser_omp_target_exit_data):
+ Change return type from tree to bool, return false if the
+ directive should be ignored in pragma_stmt contexts.
+ (c_parser_omp_target): Adjust callers of c_parser_omp_target_*_data,
+ return their result directly.
+ (c_parser_omp_cancellation_point): Change return type from void to
+ bool, return false if the directive should be ignored in pragma_stmt
+ contexts.
+ (c_parser_omp_declare): Likewise.
+
2021-08-17 Jakub Jelinek <jakub@redhat.com>
* c-parser.c (OMP_SCOPE_CLAUSE_MASK): Define.