aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-03-20 00:16:24 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-03-20 00:16:24 +0000
commit5f256a70a05fcfc5a1caf56678ceb12b4f87f781 (patch)
tree6526c452d22c98954a704e53d09145415eab6cba /gcc/c
parent3279a9a5a9a2e4e17175678cb7b15613495e306e (diff)
downloadgcc-5f256a70a05fcfc5a1caf56678ceb12b4f87f781.zip
gcc-5f256a70a05fcfc5a1caf56678ceb12b4f87f781.tar.gz
gcc-5f256a70a05fcfc5a1caf56678ceb12b4f87f781.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index e1da067..5a3e934 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,13 @@
+2021-03-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/99588
+ * c-typeck.c (mark_exp_read): Recognize what build_atomic_assign
+ with modifycode NOP_EXPR produces and mark the _Atomic var as read
+ if found.
+ (build_atomic_assign): For modifycode of NOP_EXPR, use COMPOUND_EXPRs
+ rather than STATEMENT_LIST. Otherwise call mark_exp_read on lhs.
+ Set TREE_SIDE_EFFECTS on the TARGET_EXPR.
+
2021-03-15 Tobias Burnus <tobias@codesourcery.com>
PR c++/99509