Re: [Mesa-dev] [PATCH] replace file specific compiler optimization with inline attibute

2014-09-11 Thread Matt Turner
On Thu, Sep 11, 2014 at 6:58 AM, Marc Dietrich wrote: > File specific optimization as used for src/mesa/main/streaming-load-memcpy.c > currently will cause problems with LTO in the future > (see: https://bugs.freedesktop.org/show_bug.cgi?id=83669). Replace it with > in-file target specification.

[Mesa-dev] [PATCH] replace file specific compiler optimization with inline attibute

2014-09-11 Thread Marc Dietrich
File specific optimization as used for src/mesa/main/streaming-load-memcpy.c currently will cause problems with LTO in the future (see: https://bugs.freedesktop.org/show_bug.cgi?id=83669). Replace it with in-file target specification. This only works for gcc for now. The intel compiler has __attri