[Webkit-unassigned] [Bug 70140] Flush denormals to zero on Windows.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 17 16:11:04 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=70140
--- Comment #14 from Raymond Toy <rtoy at chromium.org> 2011-10-17 16:11:04 PST ---
(In reply to comment #13)
> (In reply to comment #8)
> > Oops. Can't do that because the compiler correctly complains that
> >
> > *d++ = Flush(*d + gain * *source)
> >
> > is undefined. (Because we don't know when d++ happens because there's no sequence point for =.)
>
> This should not be the case - please re-check
I changed the lines from
float sumL = DenormalDisabler::FlushDenormalFloatToZero(*destinationL + gain * *sourceL++);
*destinationL++ = sumL;
to
*destinationL++ = DenormalDisabler::FlushDenormalFloatToZero(*destinationL + gain * *sourceL++);
Gcc (linux) complains:
cc1plus: warnings being treated as errors
third_party/WebKit/Source/WebCore/platform/audio/AudioBus.cpp: In member function ‘void WebCore::AudioBus::processWithGainFromMonoStereo(const WebCore::AudioBus&, double*, double, bool)’:
third_party/WebKit/Source/WebCore/platform/audio/AudioBus.cpp:276: error: operation on ‘destinationL’ may be undefined
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list