Code size

I noticed that (did not do further research though) code is generated even for functions that are not referenced.
So, if one has defined a function, even if that function is not called, the program size grows.