http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53742
Bug #: 53742 Summary: bad assembler output when compiling with LTO and PGO Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: io...@yandex.ru LANG=C c++ -c -v -fPIC -fno-rtti -march=prescott -mtune=prescott -mfpmath=sse -msse2 -msse3 -fstack-protector --param=ssp-buffer-size=4 -flto -fuse-linker-plugin -O3 -freorder-blocks-and-partition -pthread -g -fprofile-use -fprofile-correction -fomit-frame-pointer String.cpp ... String.s: Assembler messages: String.s:5667: Error: invalid operands (.text.hot and .text sections) for `-' String.s:5669: Error: invalid operands (.text.hot and .text sections) for `-' String.cpp is from the firefox 12. Problem appears only when using profile information. Full output with -v and -save-temps is too long, so, I will attach it.