This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE
- From: "mikpe at it dot uu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Oct 2009 12:55:43 -0000
- Subject: [Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE
- References: <bug-39247-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from mikpe at it dot uu dot se 2009-10-18 12:55 -------
On ARM, gcc generates assembly code for the bb-reorg.c test case that gas fails
to assemble. The pr34999.c test case fails for the same reason. The following
reduced assembly snippet illustrates it:
> cat bb-reorg.s
.text
.align 2
.global main
main:
ldr r0, .L30
mov pc, lr
.section .text.unlikely
.align 2
.L30: .word 1819043176
> as bb-reorg.s
bb-reorg.s: Assembler messages:
bb-reorg.s:5: Error: internal_relocation (type: OFFSET_IMM) not fixed up
This still occurs with the recently released binutils-2.20.
Does gcc generate invalid assembly code, or is the assembly code valid and gas
is in error for failing to handle it?
Should the bb-reorg and pr34999 test cases be XFAILed on arm until this is
resolved?
--
mikpe at it dot uu dot se changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39247