From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 042DE3858003; Sat, 28 Aug 2021 06:30:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 042DE3858003 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: d1979eb2d84765703c07859b1fa3ea3fc920c39a X-Git-Newrev: 56a6478bdde69355b96792756ed1cf5837d658d3 Message-Id: <20210828063048.042DE3858003@sourceware.org> Date: Sat, 28 Aug 2021 06:30:48 +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: Sat, 28 Aug 2021 06:30:48 -0000 https://gcc.gnu.org/g:56a6478bdde69355b96792756ed1cf5837d658d3 commit 56a6478bdde69355b96792756ed1cf5837d658d3 Author: Alexandre Oliva Date: Fri Aug 20 02:20:53 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