At 19:22:34 on Sat, 5 Feb 2000, Chris Antos wrote:

>oops, i forgot to say that i'm nevertheless surprised that CW 
>would be
>*that* aggressive at only level 2.  i would expect global 
>constructors to
>get eliminated only at the very highest optimization 
>level.  heck, ideally
>i'd expect a warning about them.

And then there's the fact that, even at the lowest level of 
optimization, the dynamic initialization was being eliminated 
unless there was a reference to the module with the global 
variable.  It's mainly the linker, not the compiler.  And the 
linker doesn't have any optimization controls that I know of.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to