From 3ff1a0f7dc8274c7bdd52e61a5f783815345532a Mon Sep 17 00:00:00 2001
From: GCC Administrator <gccadmin@gcc.gnu.org>
Date: Wed, 1 Feb 2023 00:22:04 +0000
Subject: [PATCH 396/547] Daily bump.

---
 gcc/DATESTAMP           | 2 +-
 gcc/c-family/ChangeLog  | 8 ++++++++
 gcc/c/ChangeLog         | 6 ++++++
 gcc/cp/ChangeLog        | 7 +++++++
 gcc/testsuite/ChangeLog | 8 ++++++++
 5 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index aa6d8640ab9..f295cfe77a7 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230131
+20230201
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 97fa7792343..1074cd67381 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,11 @@
+2023-01-31  Marek Polacek  <polacek@redhat.com>
+
+	PR c++/107593
+	PR c++/108597
+	* c-common.h (instantiation_dependent_expression_p): Declare.
+	* c-warn.cc (warn_duplicated_cond_add_or_warn): If the condition
+	is dependent, invalidate the chain.
+
 2022-12-19  Marek Polacek  <polacek@redhat.com>
 
 	Backported from master:
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 9ca66f0b2d5..dfc3d1a5135 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2023-01-31  Marek Polacek  <polacek@redhat.com>
+
+	PR c++/107593
+	PR c++/108597
+	* c-objc-common.cc (instantiation_dependent_expression_p): New.
+
 2022-11-03  Jakub Jelinek  <jakub@redhat.com>
 
 	Backported from master:
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 4d1ac08b8c4..8517cf4b662 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+2023-01-31  Marek Polacek  <polacek@redhat.com>
+
+	PR c++/107593
+	PR c++/108597
+	* cp-tree.h (instantiation_dependent_expression_p): Don't
+	declare here.
+
 2023-01-04  Patrick Palka  <ppalka@redhat.com>
 
 	Backported from master:
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 548ef8f8e7a..436b0f51021 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2023-01-31  Marek Polacek  <polacek@redhat.com>
+
+	PR c++/107593
+	PR c++/108597
+	* g++.dg/warn/Wduplicated-cond3.C: New test.
+	* g++.dg/warn/Wduplicated-cond4.C: New test.
+	* g++.dg/warn/Wduplicated-cond5.C: New test.
+
 2023-01-30  Andrew MacLeod  <amacleod@redhat.com>
 
 	PR tree-optimization/108306
-- 
2.25.1

