http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49612
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-02 12:40:38 UTC --- please try GCC 4.6.x. Are you sure you are using GCC 4.5.x? You shouldn't see this kind of output with -flto there.