From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 3D026385E013; Fri, 20 Aug 2021 04:22:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D026385E013 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: 412b80893cc0cf65f4e68a072f8a6c1b451588f7 X-Git-Newrev: cfa8baaf62881f0043ace6618dd8b7a310b52974 Message-Id: <20210820042204.3D026385E013@sourceware.org> Date: Fri, 20 Aug 2021 04:22:04 +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: Fri, 20 Aug 2021 04:22:04 -0000 https://gcc.gnu.org/g:cfa8baaf62881f0043ace6618dd8b7a310b52974 commit cfa8baaf62881f0043ace6618dd8b7a310b52974 Author: Alexandre Oliva Date: Wed Aug 18 23:57:14 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 ba0359c3c1d..4aafc08141b 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