<<< Date Index >>>     <<< Thread Index >>>

Re: Bug in Sun studio 11



> > Hi, I found bug in SS11 which is triggered by mutt source. It makes
> > function crc_matches return false even if the crc is correct. This
> > virtually disables header cache.

> > unsigned int mycrc = 0;
> > to
> > static unsigned int mycrc = 0;

[...]

> Wow, that's voodoo. I don't see any harm in making the change though.

Making the variable static makes compiler to store the value to physical
memory and not just to register. I can confirm that on SS12 the problem
no longer exists. But at the same time, SS11 may not be fixed, since it
is not priority anymore ...

-- 
        Vlad