http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53570
--- Comment #3 from jwatte at gmail dot com 2012-06-04 18:07:04 UTC --- I will try -flto and report back. Thanks! Btw: I think "that's expected" is in the eye of the beholder. If all you've ever done is VAX/GCC-style UNIX, then it's expected. If you've worked with other toolchains, like AIX, CodeWarrior, Microsoft, etc, then you'd actually expect function-level linking by default.