From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7879) id B0F3C3858288; Wed, 15 Feb 2023 10:24:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0F3C3858288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676456644; bh=Y4LJ8n5S7OyXBZw7FeAw0NFZ/IDWlw0e8itMzsFqrkY=; h=From:To:Subject:Date:From; b=alK+FO9LxidtDFs+xbcWmj7aH1FKQD34O/1KxYC5GRaIHsbJDG2gSc7AYH40xHGZT mJY5jhPxGC54yHhVtk3xwHvNBi4AvJVGjf7bJNLtsKuv/griuwGWDaFxtPWLcJRbhX D8cCxDzbeK1C+pA7VSEdoOnZJysU43qHF0LGL0a8= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Filip Kastl To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/pheeck/heads/sccp)] c++: Further -fcontract* option description fixes X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/users/pheeck/heads/sccp X-Git-Oldrev: 51c4ecb161e67dd58cc735bd2c303a20c383a863 X-Git-Newrev: 50602717e9c3abcd443a94f69bf8c4df3ec24a02 Message-Id: <20230215102404.B0F3C3858288@sourceware.org> Date: Wed, 15 Feb 2023 10:24:04 +0000 (GMT) List-Id: https://gcc.gnu.org/g:50602717e9c3abcd443a94f69bf8c4df3ec24a02 commit 50602717e9c3abcd443a94f69bf8c4df3ec24a02 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)