Mark Wielaard <mark(a)klomp.org> writes:
Although I am not against trying to turn nondeterministic bugs into
deterministic ones and getting rid off more undefined code, I am
slightly worried it means those bugs will be harder to find in
production. Also I really hope we do also encourage people to use the
various tools to find those bugs before they get into production. They
really aren't as bad at finding these issues as you make them out to
be.
Right. Gfortran has -finit-local-zero (part of "All the world's a VAX")
and other -finit- options, and notes that they silence -Wuninitialized.
I don't have measurements -- does someone else? -- but I suspect this at
least is something you don't want in performance-critical code of the
sort I work with.