[Bug 66752] GCC version check in sna/compiler.h is incorrect

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 9 20:05:35 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66752

--- Comment #1 from Thomas Jones <thomas.jones at utoronto.ca> ---
Whoops the corrected code should actually be:

#if HAS_GCC(4, 6) && defined(__OPTIMIZE__)
#define fast_memcpy __attribute__((optimize("Ofast")))
__attribute__((target("inline-all-stringops")))
#elif HAS_GCC(4, 5) && defined(__OPTIMIZE__)
#define fast_memcpy __attribute__((target("inline-all-stringops")))
#else
#define fast_memcpy
#endif

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130710/694eff60/attachment.html>


More information about the intel-gfx-bugs mailing list