public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: GCC Administrator <gccadmin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-7077] Daily bump.
Date: Mon,  7 Feb 2022 00:16:56 +0000 (GMT)	[thread overview]
Message-ID: <20220207001657.076AC3858D20@sourceware.org> (raw)

https://gcc.gnu.org/g:353f8fcc2e6ce8997ddfdc55451f0f0e9450f981

commit r12-7077-g353f8fcc2e6ce8997ddfdc55451f0f0e9450f981
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Mon Feb 7 00:16:17 2022 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 19 +++++++++++++++++++
 gcc/DATESTAMP           |  2 +-
 gcc/cp/ChangeLog        | 18 ++++++++++++++++++
 gcc/testsuite/ChangeLog | 11 +++++++++++
 4 files changed, 49 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b54aa957bcb..7c51431697f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,22 @@
+2022-02-06  Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/89074
+	PR c++/104033
+	* fold-const.h (folding_initializer): Adjust comment.
+	(folding_cxx_constexpr): Declare.
+	* fold-const.cc (folding_initializer): Adjust comment.
+	(folding_cxx_constexpr): New variable.
+	(address_compare): Restrict the decl vs. STRING_CST
+	or vice versa or STRING_CST vs. STRING_CST or
+	is_global_var != is_global_var optimizations to !folding_cxx_constexpr.
+	Punt for FUNCTION_DECLs with non-zero offsets.  If folding_initializer,
+	assume non-aliased functions have non-zero size and have different
+	addresses.  For folding_cxx_constexpr, punt on comparisons of start
+	of some object and end of another one, regardless whether it is a decl
+	or string literal.  Also punt for folding_cxx_constexpr on
+	STRING_CST vs. STRING_CST comparisons if the two literals could be
+	overlapping.
+
 2022-02-05  Jakub Jelinek  <jakub@redhat.com>
 
 	PR tree-optimization/104389
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 53f31435cc1..e4ddc2e8f5d 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220206
+20220207
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 58371417229..7a1d923e93f 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,21 @@
+2022-02-06  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/96242
+	* decl2.cc (mark_used): Directly synthesize a DECL_MAYBE_DELETED
+	fn by calling maybe_synthesize_method instead of relying on
+	maybe_instantiate_noexcept.  Move call to m_i_n after the
+	DECL_DELETED_FN handling.
+	* pt.cc (maybe_instantiate_noexcept): Restrict DECL_MAYBE_DELETED
+	fn synthesis to only those with an implicit noexcept-spec, and
+	return !DECL_DELETED_FN instead of !DECL_MAYBE_DELETED afterwards.
+
+2022-02-06  Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/89074
+	PR c++/104033
+	* constexpr.cc (cxx_eval_binary_expression): Temporarily set
+	folding_cxx_constexpr.
+
 2022-02-05  Jason Merrill  <jason@redhat.com>
 
 	PR c++/104300
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 86913ec344a..e7b21f51fb6 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,14 @@
+2022-02-06  Patrick Palka  <ppalka@redhat.com>
+
+	PR c++/96242
+	* g++.dg/cpp2a/spaceship-synth15.C: New test.
+
+2022-02-06  Jakub Jelinek  <jakub@redhat.com>
+
+	PR c++/89074
+	PR c++/104033
+	* g++.dg/cpp1y/constexpr-89074-3.C: New test.
+
 2022-02-05  Jeff Law  <jeffreyalaw@gmail.com>
 
 	* gcc.target/s390/20150826-1.c: Update expected output.


                 reply	other threads:[~2022-02-07  0:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220207001657.076AC3858D20@sourceware.org \
    --to=gccadmin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).