diff options
author | Richard Biener <rguenther@suse.de> | 2013-04-16 17:46:20 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2013-04-16 13:46:20 -0400 |
commit | 07c37b2fba70f106809feb253be848d4232252bb (patch) | |
tree | 3820d5cf4a95efcacd6e297d56dabb63bef3a4a4 /gcc/loop-init.c | |
parent | 974ba22d4c879eb34f65203732f713e9821e1e21 (diff) | |
download | gcc-07c37b2fba70f106809feb253be848d4232252bb.tar.gz |
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
Diffstat (limited to 'gcc/loop-init.c')
-rw-r--r-- | gcc/loop-init.c | 12 |
1 files changed, 8 insertions, 4 deletions
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 */ } }; |