Martin Sebor wrote: > Nicole Willson wrote: The equivalent (modulo anonymous struct) passes as well:
struct foo {
int flag;
};
static foo f = { 1 };
int flags = f.flag;
Liviu
>
>
> Moving this struct out of the function (i.e., to namespace scope)
> fixes it in this test case. Try it in wcodecvt.cpp to see if it
> works there as well. It'll probably improve the code in general.
>
> Martin
>
