https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114447

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Hmm common.opt has:
```
fstack-protector
Common Var(flag_stack_protect, 1) Init(-1) Optimization
Use propolice as a stack protection method.

fstack-protector-all
Common RejectNegative Var(flag_stack_protect, 2) Init(-1) Optimization
Use a stack protection method for every function.

fstack-protector-strong
Common RejectNegative Var(flag_stack_protect, 3) Init(-1) Optimization
Use a smart stack protection method for certain functions.

fstack-protector-explicit
Common RejectNegative Var(flag_stack_protect, 4) Optimization
Use stack protection method only for functions with the stack_protect
attribute.
```

Maybe fstack-protector-explicit is missing `Init(-1)`.

Reply via email to