toplev.c and HZ (was: gcc-2.8.0 released)
Paul Koning
pkoning@xedia.com
Mon Jan 26 07:27:00 GMT 1998
>>>>> "Andreas" == Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:
|> However, a zero initializer may be useful documentation
|> even though it is redundant.
Andreas> Except that it slightly increases the size on disk (.data
Andreas> vs. .bss).
I would hope the optimizer would optimize away redundant
initialization to zero, right? Clearly it should.
I find it very helpful to write initializers all the time even when
redundant. For one thing, they are never redundant with automatic
variables, so getting in the habit of writing them avoids bugs.
paul
More information about the Gcc
mailing list