aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-11-05 00:16:36 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-11-05 00:16:36 +0000
commit35c125cb6ac47fa97aa5ee22f987a38e63adad08 (patch)
treefff11f1136a0cbed5109491457fa6c98fb96cdaf /gcc/c
parent8f565d255a3157828e45f8b9844b3d156193c182 (diff)
downloadgcc-35c125cb6ac47fa97aa5ee22f987a38e63adad08.zip
gcc-35c125cb6ac47fa97aa5ee22f987a38e63adad08.tar.gz
gcc-35c125cb6ac47fa97aa5ee22f987a38e63adad08.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index ca844ca..43a9c58 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,22 @@
+2020-11-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/97670
+ * c-typeck.c (c_finish_omp_clauses): Look through array reductions to
+ find underlying decl to clear in the aligned_head bitmap.
+
+2020-11-04 Joseph Myers <joseph@codesourcery.com>
+
+ * c-decl.c (handle_nodiscard_attribute): New.
+ (std_attribute_table): Add nodiscard.
+ * c-parser.c (c_parser_std_attribute): Expect argument to
+ nodiscard attribute to be a string. Do not special-case ignoring
+ nodiscard.
+ * c-typeck.c (maybe_warn_nodiscard): New.
+ (build_compound_expr, emit_side_effect_warnings): Call
+ maybe_warn_nodiscard.
+ (c_process_expr_stmt, c_finish_stmt_expr): Also call
+ emit_side_effect_warnings if warn_unused_result.
+
2020-10-29 Asher Gordon <AsDaGo@posteo.net>
* c-typeck.c (free_all_tagged_tu_seen_up_to): Replace free