[Bug rtl-optimization/55158] [4.8 Regression] segfault in schedule_region at -O3

steven at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 8 12:13:00 GMT 2012


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

--- Comment #23 from Steven Bosscher <steven at gcc dot gnu.org> 2012-12-08 12:12:59 UTC ---
Author: steven
Date: Sat Dec  8 12:12:50 2012
New Revision: 194322

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194322
Log:
    PR rtl-optimization/55158
    * sched-rgn.c (bb_state_array, bb_state): Add some explaining
    comment, and initialize to NULL explicitly.
    (realloc_bb_state_array): New function.
    (free_bb_state_array): New function.
    (schedule_region): Call realloc_bb_state_array after schedule_block.
    (sched_rgn_init): Use realloc_bb_state_array to initialize bb_state.
    (sched_rgn_finish): Use free_bb_state_array to free it.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/sched-rgn.c



More information about the Gcc-bugs mailing list