aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-constexpr.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-08-26 11:06:54 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-08-26 11:06:54 +0200
commitbcab5d906c580a17a44a5beffefaa806f4e75518 (patch)
treec9c7b5988a6f8812d382e9ea1f52d0114722319d /gcc/rust/backend/rust-constexpr.cc
parent595cbafdf342369ceaffd8fb4d909a9c31bef207 (diff)
downloadgcc-bcab5d906c580a17a44a5beffefaa806f4e75518.zip
gcc-bcab5d906c580a17a44a5beffefaa806f4e75518.tar.gz
gcc-bcab5d906c580a17a44a5beffefaa806f4e75518.tar.bz2
constexpr: Fix warning in sorry fmt string
Diffstat (limited to 'gcc/rust/backend/rust-constexpr.cc')
-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))