public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/hardcond)] enable hardening of conditionals for testing Date: Thu, 21 Oct 2021 16:05:56 +0000 (GMT) [thread overview] Message-ID: <20211021160556.A338A3857C78@sourceware.org> (raw) https://gcc.gnu.org/g:aeda5e8722efcd58b4ab9059b4973059f54e2349 commit aeda5e8722efcd58b4ab9059b4973059f54e2349 Author: Alexandre Oliva <oliva@gnu.org> Date: Tue Oct 19 04:51:00 2021 -0300 enable hardening of conditionals for testing Diff: --- gcc/common.opt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/common.opt b/gcc/common.opt index 7144755f66d..c88f0b6f263 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1722,12 +1722,14 @@ fguess-branch-probability Common Var(flag_guess_branch_prob) Optimization Enable guessing of branch probabilities. +; ??? Do NOT enable by default fharden-compares -Common Var(flag_harden_compares) Optimization +Common Var(flag_harden_compares) Optimization Init(1) Harden conditionals not used in branches, checking reversed conditions. +; ??? Do NOT enable by default fharden-conditional-branches -Common Var(flag_harden_conditional_branches) Optimization +Common Var(flag_harden_conditional_branches) Optimization Init(1) Harden conditional branches by checking reversed conditions. ; Nonzero means ignore `#ident' directives. 0 means handle them.
next reply other threads:[~2021-10-21 16:05 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-21 16:05 Alexandre Oliva [this message] -- strict thread matches above, loose matches on Subject: below -- 2021-10-19 7:53 Alexandre Oliva
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211021160556.A338A3857C78@sourceware.org \ --to=aoliva@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).