From bcab5d906c580a17a44a5beffefaa806f4e75518 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Fri, 26 Aug 2022 11:06:54 +0200 Subject: constexpr: Fix warning in sorry fmt string --- gcc/rust/backend/rust-constexpr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/rust/backend') 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)) -- cgit v1.1