On Mon, Jun 6, 2016 at 1:12 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 2 June 2016 at 18:41, Jan Ziak (⚛) <0xe2.0x9a.0...@gmail.com> wrote: >> LTO compilation can sometimes fail with GCC 4.9 and GCC 5.3 because >> src/mapi uses unusual mixing of C code and assembly code. The issue >> may be present in case of GCC 6.1 as well. >> >> This is a Mesa bug rather than a compiler bug > This is a bold statement without any justification. I'm not saying > that the code is correct - just that saying "it's wrong" without > saying "why or how" serves little benefit. > >> (although in an ideal >> world the compilation with -flto should fail if and only if normal >> compilation fails).
See example 2 in section 6.9.2 of the C standard (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf). _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev