Bug 37058 - [4.4 Regression] profiling testcases fail with .cfi_endproc without corresponding .cfi_startproc
Summary: [4.4 Regression] profiling testcases fail with .cfi_endproc without correspon...
Status: RESOLVED DUPLICATE of bug 34999
Alias: None
Product: gcc
Classification: Unclassified
Component: debug (show other bugs)
Version: 4.4.0
: P2 normal
Target Milestone: 4.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords: assemble-failure
Depends on:
Blocks:
 
Reported: 2008-08-08 14:54 UTC by Richard Biener
Modified: 2008-12-29 02:35 UTC (History)
9 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Biener 2008-08-08 14:54:59 UTC
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
Comment 1 Andrew Pinski 2008-08-10 19:54:08 UTC
It works with "2.17.50 20070213" on powerpc64-linux-gnu.
Comment 2 Jakub Jelinek 2008-08-12 09:46:56 UTC
-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.
Comment 3 Andrew Pinski 2008-12-29 02:35:59 UTC

*** This bug has been marked as a duplicate of 34999 ***