This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn



------- Comment #12 from ubizjak at gmail dot com  2008-02-29 06:07 -------
(In reply to comment #11)
> I don't think it is a linker bug. This bug looks very similar
> to PR 34249. Uros, you fixed PR 34249. Maybe there is another
> similar problem elsewhere in dwarf2.out.c.

The problem is in this part of the frame:

.LASFDE3:
        .long   .LASFDE3-.Lframe1
        .long   .LHOTB2
        .long   .LHOTE2-.LHOTB2
        .long   .LCOLDB2
>>>	.long	.LCOLDE2-.LCOLDB2
        .uleb128 0x0
        .byte   0x4
        .long   .LCFI2-.LFB3
        .byte   0xe
        .uleb128 0x10
        .byte   0x86
        .uleb128 0x2
        .byte   0x4
        .long   .LCFI3-.LCFI2
        .byte   0xd
        .uleb128 0x6
        .align 8
.LEFDE3:

If the marked line is changed to .long  .LCOLDB2-.LCOLDB2 (or ..E2 - ..E2) the
compilation succeeds. However, looking through asm, it looks correct to me.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34999


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]