[patch] PR55158 - segfault in sched-rgn.c

Bernd Schmidt bernds@codesourcery.com
Fri Dec 7 14:22:00 GMT 2012


On 12/06/2012 01:31 PM, Steven Bosscher wrote:
> Hello,
> 
> The problem in this PR is that new basic blocks can be created if the
> scheduler moves speculative insns and adds recovery code, but the
> bb_state* arrays are allocated only at the start of scheduling a
> region and are not set up to deal with changing last_basic_block.
> 
> Fixed by resizing the arrays if necessary. This fixes most of the
> testsuite failures on ia64:

Looks OK to me. Thanks,


Bernd




More information about the Gcc-patches mailing list