This is the mail archive of the gcc-patches@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]

[PATCH] Fix PR rtl-optimization/34085


Hello,

I am submitting this patch on behalf of Steven Bosscher, this patch
fixes  PR34085.
Bootstrap and tested with -O2 on ppc64 and x86_64.
The tescase attached has also been tested.

OK for mainline?

:ADDPATCH middle-end (rtl optimization):

Thanks,
Revital


2007-11-20  Steven Bosscher  <stevenb.gcc@gmail.com>

        PR middle-end/34085
        * emit-rtl.c (add_insn_before): Add comment.
        * bb-reorder.c (insert_section_boundary_note): Clear
        BLOCK_FOR_INSN bit in NOTE_INSN_SWITCH_TEXT_SECTIONS.

testsuite:

        PR rtl-optimization/34085
        * gcc.dg/tree-prof (bb-reorg.c): New test.

(See attached file: patch_fix34085.txt)(See attached file: bb-reorg.c.txt)

Attachment: patch_fix34085.txt
Description: Text document

Attachment: bb-reorg.c.txt
Description: Text document


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