From 07c37b2fba70f106809feb253be848d4232252bb Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 16 Apr 2013 17:46:20 +0000 Subject: re PR rtl-optimization/56921 (ICE in rtx_cost called by doloop_optimize_loops for PPC) 2013-04-16 Richard Biener 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 --- gcc/loop-init.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'gcc/loop-init.c') diff --git a/gcc/loop-init.c b/gcc/loop-init.c index 92d621e273c..d5116acdcdb 100644 --- a/gcc/loop-init.c +++ b/gcc/loop-init.c @@ -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 */ } }; -- cgit v1.2.1