aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-08-26 09:37:51 +0000
committerGitHub <noreply@github.com>2022-08-26 09:37:51 +0000
commit732997e93ff29073ee57ae9dc954e7c74a15c9cc (patch)
treec9c7b5988a6f8812d382e9ea1f52d0114722319d
parent595cbafdf342369ceaffd8fb4d909a9c31bef207 (diff)
parentbcab5d906c580a17a44a5beffefaa806f4e75518 (diff)
downloadgcc-732997e93ff29073ee57ae9dc954e7c74a15c9cc.zip
gcc-732997e93ff29073ee57ae9dc954e7c74a15c9cc.tar.gz
gcc-732997e93ff29073ee57ae9dc954e7c74a15c9cc.tar.bz2
Merge #1509
1509: constexpr: Fix warning in sorry fmt string r=philberty a=CohenArthur Closes #1508 Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
-rw-r--r--gcc/rust/backend/rust-constexpr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-constexpr.cc b/gcc/rust/backend/rust-constexpr.cc
index f2e3e51..203449b 100644
--- a/gcc/rust/backend/rust-constexpr.cc
+++ b/gcc/rust/backend/rust-constexpr.cc
@@ -1672,7 +1672,7 @@ eval_array_reference (const constexpr_ctx *ctx, tree t, bool lval,
initializer, it's initialized from {}. But use build_value_init
directly for non-aggregates to avoid creating a garbage CONSTRUCTOR. */
tree val = NULL_TREE;
- sorry ("array size expression is not supported yet.");
+ sorry ("array size expression is not supported yet");
constexpr_ctx new_ctx;
if (is_really_empty_class (elem_type, /*ignore_vptr*/ false))