public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-07-28 7:06 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-07-28 7:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d8ef573543dc62a3860a94ec1caa4140eb1eec0e
commit d8ef573543dc62a3860a94ec1caa4140eb1eec0e
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2023-12-07 16:18 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2023-12-07 16:18 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1698b86e341daa51e75f4cefa87155904f1d3a14
commit 1698b86e341daa51e75f4cefa87155904f1d3a14
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Jul 28 03:30:22 2022 -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 f070aff8cbc..dcec6dfe16e 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2931,7 +2931,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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2023-12-06 0:26 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2023-12-06 0:26 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:ded33c307f4d0907e5442125bab5d8d0409867f9
commit ded33c307f4d0907e5442125bab5d8d0409867f9
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Jul 28 03:30:22 2022 -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 f070aff8cbc..dcec6dfe16e 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2931,7 +2931,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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2023-12-01 18:00 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2023-12-01 18:00 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f8804997b8ab9e61f11e14e8b878ca4d5f1f2cb0
commit f8804997b8ab9e61f11e14e8b878ca4d5f1f2cb0
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Jul 28 03:30:22 2022 -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 f070aff8cbc..dcec6dfe16e 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2931,7 +2931,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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2023-11-29 8:47 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2023-11-29 8:47 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f9e12eb34789e4dee146f71dffe1a6611248722a
commit f9e12eb34789e4dee146f71dffe1a6611248722a
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Jul 28 03:30:22 2022 -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 f070aff8cbc..dcec6dfe16e 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2931,7 +2931,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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2022-08-04 14:10 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2022-08-04 14:10 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:4a93638ee91b192808d7c0c4d10b8f9617313b9f
commit 4a93638ee91b192808d7c0c4d10b8f9617313b9f
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Jul 28 03:30:22 2022 -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 2c635806bbf..4c9be2054f7 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2794,7 +2794,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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2022-05-06 8:02 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2022-05-06 8:02 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b3b3b0da4831bb10280edeabcf625a15dcf60129
commit b3b3b0da4831bb10280edeabcf625a15dcf60129
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 f7a7130a3f4..4e41924b85a 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2763,7 +2763,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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-09-05 9:50 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-09-05 9:50 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7838bb36816403a99fa6a3666ab81dd10e8d7056
commit 7838bb36816403a99fa6a3666ab81dd10e8d7056
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-09-05 5:38 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-09-05 5:38 UTC (permalink / raw)
To: gcc-cvs
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-09-05 2:50 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-09-05 2:50 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:356412246d5af8c8b2107eced5ef6788ccd145c2
commit 356412246d5af8c8b2107eced5ef6788ccd145c2
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-09-04 14:12 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-09-04 14:12 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7df74a329d24eb8cafffd6bf13539c38cc9f7e17
commit 7df74a329d24eb8cafffd6bf13539c38cc9f7e17
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-09-04 11:10 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-09-04 11:10 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:03ea15eda08e50cb93ff94a72a929b840d4442db
commit 03ea15eda08e50cb93ff94a72a929b840d4442db
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-09-03 7:02 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-09-03 7:02 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e1c049cedd6f9055d81b9c6d539c4e3d7b32128e
commit e1c049cedd6f9055d81b9c6d539c4e3d7b32128e
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-09-03 2:17 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-09-03 2:17 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:0b6ded402e715ad09416c1007394f926c864aee5
commit 0b6ded402e715ad09416c1007394f926c864aee5
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-08-28 6:30 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-08-28 6:30 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:56a6478bdde69355b96792756ed1cf5837d658d3
commit 56a6478bdde69355b96792756ed1cf5837d658d3
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-08-28 4:13 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-08-28 4:13 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:5353d7cb85d706eb03eb1281b214e19b2c99437c
commit 5353d7cb85d706eb03eb1281b214e19b2c99437c
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-08-20 4:22 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-08-20 4:22 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:cfa8baaf62881f0043ace6618dd8b7a310b52974
commit cfa8baaf62881f0043ace6618dd8b7a310b52974
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-08-20 4:20 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-08-20 4:20 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1f10fc356258887e1de8df4e870d45e4f302d8f7
commit 1f10fc356258887e1de8df4e870d45e4f302d8f7
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-08-19 2:58 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-08-19 2:58 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:877ff2934dad4a3c02b6149b9411cf34e2c3f7b0
commit 877ff2934dad4a3c02b6149b9411cf34e2c3f7b0
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-08-04 8:55 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-08-04 8:55 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:73e592ddb30a26203211a5e894c4196dc1844970
commit 73e592ddb30a26203211a5e894c4196dc1844970
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-07-28 9:35 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-07-28 9:35 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:49bd574859ac9a81de6eabbafd0a1dd65c4c7b43
commit 49bd574859ac9a81de6eabbafd0a1dd65c4c7b43
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-07-28 6:33 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-07-28 6:33 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a072656cb1513df80ff71d857f0b2884afb1c85c
commit a072656cb1513df80ff71d857f0b2884afb1c85c
Author: Alexandre Oliva <oliva@adacore.com>
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
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-07-26 13:31 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-07-26 13:31 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1f1c41e94c695e1032b32de624067d9d18c5ecd6
commit 1f1c41e94c695e1032b32de624067d9d18c5ecd6
Author: Alexandre Oliva <oliva@adacore.com>
Date: Sat Jul 24 23:05:43 2021 -0300
enable strub for all viable functions by default, for testing
Diff:
---
gcc/ipa-strub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ipa-strub.c b/gcc/ipa-strub.c
index a3f4abf8b24..7b05321e980 100644
--- a/gcc/ipa-strub.c
+++ b/gcc/ipa-strub.c
@@ -1410,7 +1410,7 @@ pass_ipa_strub_mode::execute (function *)
/* If no strub flag was given in the command line,
set the actual default. */
if (flag_strub == -2)
- flag_strub = -1;
+ flag_strub = 3; // for testing only; was: -1;
bool any_strub = false;
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-07-25 1:43 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-07-25 1:43 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:532a9c8e3f7cf72f3f41b5b399d049f4dbcec911
commit 532a9c8e3f7cf72f3f41b5b399d049f4dbcec911
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Jul 22 06:57:27 2021 -0300
enable strub for all viable functions by default, for testing
Diff:
---
gcc/ipa-strub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ipa-strub.c b/gcc/ipa-strub.c
index f9a3c92a115..c99eb82d7f4 100644
--- a/gcc/ipa-strub.c
+++ b/gcc/ipa-strub.c
@@ -1334,7 +1334,7 @@ pass_ipa_strub_mode::execute (function *)
/* If no strub flag was given in the command line,
set the actual default. */
if (flag_strub == -2)
- flag_strub = -1;
+ flag_strub = 3; // for testing only; was: -1;
bool any_strub = false;
^ permalink raw reply [flat|nested] 25+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing
@ 2021-07-22 10:01 Alexandre Oliva
0 siblings, 0 replies; 25+ messages in thread
From: Alexandre Oliva @ 2021-07-22 10:01 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:0dadcd92b516fa7e66611da26ca002e59fad00ea
commit 0dadcd92b516fa7e66611da26ca002e59fad00ea
Author: Alexandre Oliva <oliva@adacore.com>
Date: Thu Jul 22 06:57:27 2021 -0300
enable strub for all viable functions by default, for testing
Diff:
---
gcc/ipa-strub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ipa-strub.c b/gcc/ipa-strub.c
index 5adf3916983..5a8c0c80479 100644
--- a/gcc/ipa-strub.c
+++ b/gcc/ipa-strub.c
@@ -1314,7 +1314,7 @@ pass_ipa_strub_mode::execute (function *)
/* If no strub flag was given in the command line,
set the actual default. */
if (flag_strub == -2)
- flag_strub = -1;
+ flag_strub = 3; // for testing only; was: -1;
bool any_strub = false;
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2023-12-07 16:18 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 7:06 [gcc(refs/users/aoliva/heads/strub)] enable strub for all viable functions by default, for testing Alexandre Oliva
-- strict thread matches above, loose matches on Subject: below --
2023-12-07 16:18 Alexandre Oliva
2023-12-06 0:26 Alexandre Oliva
2023-12-01 18:00 Alexandre Oliva
2023-11-29 8:47 Alexandre Oliva
2022-08-04 14:10 Alexandre Oliva
2022-05-06 8:02 Alexandre Oliva
2021-09-05 9:50 Alexandre Oliva
2021-09-05 5:38 Alexandre Oliva
2021-09-05 2:50 Alexandre Oliva
2021-09-04 14:12 Alexandre Oliva
2021-09-04 11:10 Alexandre Oliva
2021-09-03 7:02 Alexandre Oliva
2021-09-03 2:17 Alexandre Oliva
2021-08-28 6:30 Alexandre Oliva
2021-08-28 4:13 Alexandre Oliva
2021-08-20 4:22 Alexandre Oliva
2021-08-20 4:20 Alexandre Oliva
2021-08-19 2:58 Alexandre Oliva
2021-08-04 8:55 Alexandre Oliva
2021-07-28 9:35 Alexandre Oliva
2021-07-28 6:33 Alexandre Oliva
2021-07-26 13:31 Alexandre Oliva
2021-07-25 1:43 Alexandre Oliva
2021-07-22 10:01 Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).