ParentFull threadthrowaway542134·It's called dead code elimination/optimization and compilers can do it without LTO, with LTO you can can get more savings but ymmv.View on HN