g++v5.2.1 problems with LTO and funtional behavior

Rigoberto L. Salgado Reyes rlsalgado@uci.cu
Mon Feb 8 18:10:00 GMT 2016


Hi there,

     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?


thank in advance,
best regards.
Rigo



More information about the Gcc-help mailing list