In SuperTuxKart, we have ~80 unused functions and some of them are really big. As I’m not sure whether they’re needed or not, I’ve googled for special gcc options.
Some links so I don’t forget:
By default gcc won’t eliminate unused data/functions, but we can do it manually. As a result – decreasing ‘supertuxkart’ binary by 80kb. Not epic, especially when you know that binary is 11mb in size.