]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Mon, 7 Feb 2022 00:16:17 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Mon, 7 Feb 2022 00:16:17 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index b54aa957bcbfc222b5839924a7ee96becd31c9ec..7c51431697f71d0e56d2786ac9585ea3db0c2bab 100644 (file)
@@ -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
index 53f31435cc11102c00e34ec3924209ac56b09ce1..e4ddc2e8f5de2b7e9a0f589bd7e2738538a3f251 100644 (file)
@@ -1 +1 @@
-20220206
+20220207
index 5837141722991da1058dee44c3172e1ed28921d6..7a1d923e93f2e47c749362408e2fdfcb539ce10d 100644 (file)
@@ -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
index 86913ec344a215a007d3e19ead635df88d604c4c..e7b21f51fb68f9c1fcff88de1912ebb7b7a50c95 100644 (file)
@@ -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.