Indeed, there are several ways to avoid triggering this particular
manifestation of this bug. I have even constructed other cases where
code similar to the example does *not* result in a code generation
error. This raises the possibility that perfectly legitimate code
(not just this construction in particular) can sometimes (but not
always) generate incorrect code.
Since the bug depends on optimization level, it suggests that both
the code being compiled and the code around it play a role in whether
the bug will occur or not.
_murat
On Nov 14, 2007, at 6:10 AM, David Spooner wrote:
If you change the initialization of your global variable to