re PR rtl-optimization/56921 (ICE in rtx_cost called by doloop_optimize_loops for PPC)

2013-04-16  Richard Biener  <rguenther@suse.de>

        PR rtl-optimization/56921
        * loop-init.c (pass_rtl_move_loop_invariants): Add
        TODO_do_not_ggc_collect to todo_flags_finish.
        (pass_rtl_unswitch): Same.
        (pass_rtl_unroll_and_peel_loops): Same.
        (pass_rtl_doloop): Same.

From-SVN: r198006
This commit is contained in:
Richard Biener 2013-04-16 17:46:20 +00:00 committed by David Edelsohn
parent 974ba22d4c
commit 07c37b2fba
2 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2013-04-16 Richard Biener <rguenther@suse.de>
PR rtl-optimization/56921
* loop-init.c (pass_rtl_move_loop_invariants): Add
TODO_do_not_ggc_collect to todo_flags_finish.
(pass_rtl_unswitch): Same.
(pass_rtl_unroll_and_peel_loops): Same.
(pass_rtl_doloop): Same.
2013-04-16 Greta Yorsh <Greta.Yorsh at arm.com>
* config/arm/arm.c (emit_multi_reg_push): New declaration

View File

@ -434,7 +434,8 @@ struct rtl_opt_pass pass_rtl_move_loop_invariants =
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_df_verify |
TODO_df_finish | TODO_verify_rtl_sharing /* todo_flags_finish */
TODO_df_finish | TODO_verify_rtl_sharing
| TODO_do_not_ggc_collect /* todo_flags_finish */
}
};
@ -470,7 +471,8 @@ struct rtl_opt_pass pass_rtl_unswitch =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_verify_rtl_sharing, /* todo_flags_finish */
TODO_verify_rtl_sharing
| TODO_do_not_ggc_collect /* todo_flags_finish */
}
};
@ -519,7 +521,8 @@ struct rtl_opt_pass pass_rtl_unroll_and_peel_loops =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_verify_rtl_sharing, /* todo_flags_finish */
TODO_verify_rtl_sharing
| TODO_do_not_ggc_collect /* todo_flags_finish */
}
};
@ -561,6 +564,7 @@ struct rtl_opt_pass pass_rtl_doloop =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_verify_rtl_sharing /* todo_flags_finish */
TODO_verify_rtl_sharing
| TODO_do_not_ggc_collect /* todo_flags_finish */
}
};