[flac-dev] Two questions about RG in flac
lvqcl.mail at gmail.com
Fri Jun 6 07:57:43 PDT 2014
Robert Kausch wrote:
> The problem seems to be that sum is interpreted as a 64 bit value if
> SSE2 was used in the loop (the lower 32 bits of the result give the
> expected value). If sum is evaluated another time before or after (!)
> the printf, the problem goes away. For example, changing the last line
> to "return sum + 1;" lets the problem disappear.
> I confirmed the bug with GCC 4.6.3 on Ubuntu. As on Windows, only 32 bit
> code generation is affected.
Thank you for testing.
> You should file a bug report with the GCC team.
More information about the flac-dev