On 18/09/2025 15:41, Bruno Haible wrote:
Pádraig Brady wrote:
So, if there is an option that we should add in the CI, it is
-ftrivial-auto-var-init=uninitialized
That's the default behavior I think
That's what I think as well. But you are saying "as we've seen zero'd stacks
are very common".
So, should I add this option to the coreutils CI or not?
I wouldn't add -ftrivial-auto-var-init=uninitialized as it doesn't change
anything.
By zero'd stacks being common, I mean't implicitly zero'd stacks,
which makes it harder to trigger bugs.
I'm not strongly suggesting that -ftrivial-auto-var-init=pattern
would be appropriate for CI, but I've added it to
the default settings in my local dev environment at least.
cheers,
Padraig