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/48302] ICE: SIGSEGV in reposition_prologue_and_epilogue_notes (function.c:5662) with -fcrossjumping -fselective-scheduling2


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

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> 2011-04-08 11:53:28 UTC ---
Author: amonakov
Date: Fri Apr  8 11:53:25 2011
New Revision: 172176

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172176
Log:
    PR rtl-optimization/48302
    * sel-sched-ir.h (sel_add_loop_preheaders): Update prototype.
    * sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument.  Use
    it to record added preheader blocks.
    * sel-sched.c (setup_current_loop_nest): Add 'bbs' argument.  Pass it
    on to sel_add_loop_preheaders.
    (sel_region_init): Move call to setup_current_loop_nest after
    sel_init_bbs.

testsuite:
    * g++.dg/opt/pr48302.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/opt/pr48302.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sel-sched-ir.c
    trunk/gcc/sel-sched-ir.h
    trunk/gcc/sel-sched.c
    trunk/gcc/testsuite/ChangeLog


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