public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4290] c++: Further -fcontract* option description fixes
@ 2022-11-24 10:53 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-11-24 10:53 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:138ee8f7453ffdd6856caf35cf32be6661086a54
commit r13-4290-g138ee8f7453ffdd6856caf35cf32be6661086a54
Author: Jakub Jelinek <jakub@redhat.com>
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=<name>:<semantics> 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 <jakub@redhat.com>
* 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=<name>:<semantics> 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=<name>:<semantics> 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=<level>:<semantic> Specify the concrete semantics for level
+-fcontract-semantic=<level>:<semantic> Specify the concrete semantics for level.
fcoroutines
C++ LTO Var(flag_coroutines)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-24 10:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-24 10:53 [gcc r13-4290] c++: Further -fcontract* option description fixes Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).