From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id D193D398D055; Wed, 28 Jul 2021 09:35:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D193D398D055 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: bd8bcabe3d7959425e36834c0d5666b871648678 X-Git-Newrev: 49bd574859ac9a81de6eabbafd0a1dd65c4c7b43 Message-Id: <20210728093535.D193D398D055@sourceware.org> Date: Wed, 28 Jul 2021 09:35:35 +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, 28 Jul 2021 09:35:35 -0000 https://gcc.gnu.org/g:49bd574859ac9a81de6eabbafd0a1dd65c4c7b43 commit 49bd574859ac9a81de6eabbafd0a1dd65c4c7b43 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