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:

                === gcc Summary ===

-# of expected passes           81541
-# of unexpected failures       505
+# of expected passes           81839
+# of unexpected failures       64
 # of unexpected successes      18
 # of expected failures         341
-# of unresolved testcases      66
-# of unsupported tests         1198
+# of unresolved testcases      7
+# of unsupported tests         1208

Bootstrapped&tested on ia64-unknown-linux-gnu. OK for trunk?

Ciao!
Steven

Attachment: PR55158.diff
Description: Binary data

Reply via email to