From 678ea9ba72bea2dba531cd8dcdf5c03a3710115d Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Sun, 10 Jan 2021 00:17:05 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 9 +++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 32 ++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 24 ++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb9e8b5c7601..f6494d0c1a61 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2021-01-09 Jakub Jelinek + + Backported from master: + 2021-01-09 Jakub Jelinek + + 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 Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 75cdb7abf07e..750db9329f48 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210109 +20210110 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7b0535519865..dac943d50a1b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,35 @@ +2021-01-09 Patrick Palka + + Backported from master: + 2021-01-08 Patrick Palka + + 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 + + Backported from master: + 2020-07-31 Patrick Palka + + PR c++/96197 + * constexpr.c (cxx_eval_constant_expression) : + 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 Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a17bbcd940eb..03432b2e97e0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,27 @@ +2021-01-09 Jakub Jelinek + + Backported from master: + 2021-01-09 Jakub Jelinek + + PR c++/98556 + * c-c++-common/pr98556.c: New test. + +2021-01-09 Patrick Palka + + Backported from master: + 2021-01-08 Patrick Palka + + PR c++/98551 + * g++.dg/cpp0x/constexpr-pmf2.C: New test. + +2021-01-09 Patrick Palka + + Backported from master: + 2020-07-31 Patrick Palka + + PR c++/96197 + * g++.dg/cpp1y/constexpr-array8.C: New test. + 2021-01-08 Iain Sandoe Backported from master: -- 2.47.2