https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82229
--- Comment #6 from krzysio.kurek at wp dot pl --- Oh, two comments about the callgrind output. Random::get() is being called 14 times less often on GCC6 There is a function created from template in GCC7 that is completely absent on GCC6.