M
Mark McIntyre
No, you don't. Otherwise you would have mentioned it. What you diod
instead is give an example of something completely different:
Excellent, so now you are attacking one of /the/ most respected
posters here. Top marks for idiocy.
Expect to get rapidly plonked by those with short fuses, and your
every post watched like a hawk by those with a strong sense of duty to
the newbies, who do not deserve to be fed misinformation.
hat case has nothing to do with BSS storage. In your case the compiler
had to generate INITIALIZED data,
You were claiming that no compiler would be so stupid as to fail to
make obvious optimisations. Chris (and others) have produced
counterexamples of even more obvious optimisations that got missed.
For what its worth, I recall one of the earlier MSC implementations
(possibly 5.1) did indeed insert zero-initialised storage into the
binary. After all, if it had been part-initialised to nonzeros then
creating it from scratch could have been expensive at runtime.
Please feel free to start straightening me out. Any time now.
Its happening.
I do get a bit miffed by folks that are consistently intellectually
dishonest.
Do you find yourself doing Travis Bickle impersonations a lot?
Some people go to great lengths to ignore reality and hold to very
narrow views. I've found those attitudes to be unhelpful.
Indeed.
--
Mark McIntyre
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan