[gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing

Alexandre Oliva aoliva@gcc.gnu.org
Sun Sep 5 05:38:13 GMT 2021


https://gcc.gnu.org/g:cc3a75e2a6340c9959e8d3aa63c05679c9c350a3

commit cc3a75e2a6340c9959e8d3aa63c05679c9c350a3
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Sep 2 23:15:37 2021 -0300

    enable strub for all viable functions by default, for testing

Diff:
---
 gcc/common.opt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/common.opt b/gcc/common.opt
index ef018ebf735..6e2d71376f8 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2701,7 +2701,7 @@ Enable stack scrub as per attributes, with strict call checking.
 ; 0 if no strub-enabling attribute is seen.  This minimizes the strub
 ; overhead.
 fstrub=relaxed
-Common RejectNegative Var(flag_strub, -3) Init(-3)
+Common RejectNegative Var(flag_strub, -3) Init(3) ; alt default for testing.
 Restore default strub mode: as per attributes, with relaxed checking.
 
 fstrub=all


More information about the Gcc-cvs mailing list