4 ms·
> error on uses of potentially uninitialized variables. This is absolutely the best option. That said, > I'd rather have a flag that clobbers values with rand
by kjeetgill 7y ago
> error on uses of potentially uninitialized variables.
This is absolutely the best option. That said,
> I'd rather have a flag that clobbers values with random data.
That's roughly what happens in practice as is, doesn't it? Barring the first option I'd rather have an option that fails predictably and reproducibly. An arbitrary but deterministic garbage number maybe? Like --set-uninitialized=0xdeadbeef. That might be getting too elaborate, haha.