>As a note to those who care. We run into so many compiler "over >optimization bugs" from various compilers that we don't regularly >report them any more. The worst offender, by far, is the Visual >Studio .NET compiler. But, each has its own quirks.
In many cases which we've seen where we initially reported compiler bugs after we updated compilers for Solaris. we've found that new behaviour in Solaris modified the way in which *incorrect* code was optimized. And note that a compiler is at liberty to optimize checks against uninitialized variables such that the code path followed is *not* possible for any of the possible values for the variable had it been properly initalized. I.e., undefined behaviour can be exactly that. Casper _______________________________________________ opensolaris-discuss mailing list [email protected]
