Paul Menzel wrote:
could some expert please comment, if `-fwhole-program` already optimizes the code the best way possible for GCC and therefore LTO is not going to reduce SeaBIOS’ binary size?
I think this is a moving target; how well the optimizer works depends on how mature the optimizer is (not very) and on the code it is asked to optimize...
//Peter