From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 257473896829; Wed, 4 Aug 2021 08:55:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 257473896829 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/strub X-Git-Oldrev: 4b6eef5d36e2c2978a5e81cb2b99e3aeb18e27a8 X-Git-Newrev: 73e592ddb30a26203211a5e894c4196dc1844970 Message-Id: <20210804085522.257473896829@sourceware.org> Date: Wed, 4 Aug 2021 08:55:22 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2021 08:55:22 -0000 https://gcc.gnu.org/g:73e592ddb30a26203211a5e894c4196dc1844970 commit 73e592ddb30a26203211a5e894c4196dc1844970 Author: Alexandre Oliva Date: Wed Jul 28 03:30:03 2021 -0300 enable strub for all viable functions by default, for testing Diff: --- gcc/common.opt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/common.opt b/gcc/common.opt index c0408cb0f4c..deb04fad8e0 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2690,9 +2690,9 @@ Treat signed overflow as undefined. Negated as -fwrapv -fwrapv-pointer. ; If any strub-enabling attribute is seen when the default value is ; selected, it's bumped up to -1. The scrub mode gate function will ; then bump -2 to 0 if no strub-enabling attribute is seen. This -; minimizes the strub overhead. +; minimizes the strub overhead. Init(3) is for testing only. fstrub=default -Common RejectNegative Var(flag_strub, -2) Init(-2) +Common RejectNegative Var(flag_strub, -2) Init(3) Enable stack scrub as requested through attributes. fstrub=all