On 08/02/2016 19:09, Rigoberto L. Salgado Reyes wrote: > I have a question, maybe a foolish one but here I go, i'm using g++ > v5.2.1(the one in the oSUSE Leap), and when I set the flag "-flto", the > optimization mess with the heavy use of functional programming features > presents in c++14 that I have in my code. There is any formula to active > LTO and don't mess with high order functions? Hello, I think it might help the GCC developers if you would provide a small example of a program that works with LTO disabled, and breaks once you enable LTO. Regards.