From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id DD4B8384F034; Thu, 24 Nov 2022 10:53:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD4B8384F034 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669287210; bh=ALcscBlu57YXWau+OqijzBKS2aAmo3+jiDvq252zq1M=; h=From:To:Subject:Date:From; b=WQ65bY6ro3BM5Pk+kYGI6XoMpKDjthCfm6giQBvy1+E1Tp9TvDFEdwi193JiDxmJw 1vDqUDkGfsMBa5FES9TKhZntpNWWb3C1Tg7gb0jTycqQqSoQL41jgawRl2diSyp7EP qjoNQjCRpufNeiz3TJDzbWZylS7Ihrp9xT8TSwmU= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4290] c++: Further -fcontract* option description fixes X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/master X-Git-Oldrev: b6330a7685476fc30b8ae9bbf3fca1a9b0d4be95 X-Git-Newrev: 138ee8f7453ffdd6856caf35cf32be6661086a54 Message-Id: <20221124105330.DD4B8384F034@sourceware.org> Date: Thu, 24 Nov 2022 10:53:30 +0000 (GMT) List-Id: https://gcc.gnu.org/g:138ee8f7453ffdd6856caf35cf32be6661086a54 commit r13-4290-g138ee8f7453ffdd6856caf35cf32be6661086a54 Author: Jakub Jelinek Date: Thu Nov 24 11:51:34 2022 +0100 c++: Further -fcontract* option description fixes During testing I've missed my previous patch just changed: -FAIL: compiler driver --help=c++ option(s): "^ +-.*[^:.]\$" absent from output: " -fcontract-build-level=[off|default|audit] Specify max contract level to generate runtime checks for" +FAIL: compiler driver --help=c++ option(s): "^ +-.*[^:.]\$" absent from output: " -fcontract-role=: Specify the semantics for all levels in a role (default, review), or a custom contract role with given semantics (ex: opt:assume,assume,assume)" rather than actually fixed it, the test only reports the first such problem. This patch fixes the remaining ones. 2022-11-24 Jakub Jelinek * c.opt (fcontract-role=, fcontract-semantic=): Terminate descriptions with a dot. Diff: --- gcc/c-family/c.opt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 4b0539132c6..0d0ad0a6374 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -1713,11 +1713,11 @@ C++ Joined RejectNegative fcontract-role= C++ Joined RejectNegative --fcontract-role=: Specify the semantics for all levels in a role (default, review), or a custom contract role with given semantics (ex: opt:assume,assume,assume) +-fcontract-role=: Specify the semantics for all levels in a role (default, review), or a custom contract role with given semantics (ex: opt:assume,assume,assume). fcontract-semantic= C++ Joined RejectNegative --fcontract-semantic=: Specify the concrete semantics for level +-fcontract-semantic=: Specify the concrete semantics for level. fcoroutines C++ LTO Var(flag_coroutines)