]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 10 Jan 2021 00:17:05 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 10 Jan 2021 00:17:05 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index cb9e8b5c7601d3df60eb50d6f14c3ca94faf161b..f6494d0c1a6109a609f8a3f12c13a301c5feb655 100644 (file)
@@ -1,3 +1,12 @@
+2021-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2021-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/98556
+       * tree-cfg.c (verify_gimple_assign_binary): Allow lhs of
+       POINTER_DIFF_EXPR to be any integral type.
+
 2021-01-07  Claudiu Zissulescu  <claziss@synopsys.com>
 
        Backported from master:
index 75cdb7abf07ed95d907a1d810c208c921cbd3617..750db9329f48e5af07ce6eefbf9433bf839e7cea 100644 (file)
@@ -1 +1 @@
-20210109
+20210110
index 7b0535519865b02f2f5f15780b0f2f8e2c75b67c..dac943d50a1b07162dc304c17a111ee9e4481302 100644 (file)
@@ -1,3 +1,35 @@
+2021-01-09  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-01-08  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/98551
+       * constexpr.c (cxx_eval_call_expression): Check CLASS_TYPE_P
+       instead of AGGREGATE_TYPE_P before calling replace_result_decl.
+
+2021-01-09  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2020-07-31  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/96197
+       * constexpr.c (cxx_eval_constant_expression) <case CONST_DECL>:
+       Pass false to decl_constant_value and decl_really_constant_value
+       so that they don't unshare their result.
+       * cp-tree.h (decl_constant_value): New declaration with an added
+       bool parameter.
+       (decl_really_constant_value): Add bool parameter defaulting to
+       true to existing declaration.
+       * init.c (constant_value_1): Add bool parameter which controls
+       whether to unshare the initializer before returning.  Call
+       unshare_expr at most once.
+       (scalar_constant_value): Pass true to constant_value_1's new
+       bool parameter.
+       (decl_really_constant_value): Add bool parameter and forward it
+       to constant_value_1.
+       (decl_constant_value): Likewise, but instead define a new
+       overload with an added bool parameter.
+
 2021-01-06  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from master:
index a17bbcd940eb82c78f2e8a2376bf80f164657cf1..03432b2e97e038bc4eb6c8886db1c91334f3aa9f 100644 (file)
@@ -1,3 +1,27 @@
+2021-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2021-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/98556
+       * c-c++-common/pr98556.c: New test.
+
+2021-01-09  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2021-01-08  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/98551
+       * g++.dg/cpp0x/constexpr-pmf2.C: New test.
+
+2021-01-09  Patrick Palka  <ppalka@redhat.com>
+
+       Backported from master:
+       2020-07-31  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/96197
+       * g++.dg/cpp1y/constexpr-array8.C: New test.
+
 2021-01-08  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backported from master: