I see FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE UNRESOLVED: gcc.dg/tree-prof/bb-reorg.c execution, -fprofile-use -D_PROFILE_U SE FAIL: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE UNRESOLVED: gcc.dg/tree-prof/pr34999.c execution, -fprofile-use -D_PROFILE_US E which is because pr34999.s: Assembler messages: pr34999.s:114: Error: .cfi_endproc without corresponding .cfi_startproc pr34999.s:124: Error: open CFI at the end of file; missing .cfi_endproc directive as both testcases use -freorder-blocks-and-partition (?) > as --version GNU assembler 2.16.91.0.5 20051219 (SUSE Linux) and > as --version GNU assembler (GNU Binutils; openSUSE 11.0) 2.18.50.20080409-11.1
It works with "2.17.50 20070213" on powerpc64-linux-gnu.
-freorder-blocks-and-partition never really worked with EH, whether you get assembler errors as with the .cfi_* directives or whether it just silently generates bogus unwind info is unimportant. GCC isn't able to track the unwind info for two separate sections ATM.
*** This bug has been marked as a duplicate of 34999 ***