LacaK wrote on Wed, 18 May 2016:

Any other ideas, what leads compiler to not inline ?

If you compile with -vd, the compiler will tell you in most cases why it's not inlining. Additionally, it's possible that it's not possible to inline generic routines in regular routines, because IIRC the code for specialisations is generated after the code for all regular routines has been generated (and hence it's probably never available yet while generating code for regular routines, unless perhaps if the specialisation is defined in another unit).


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to