diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2010-09-20 21:29:48 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-09-20 21:29:48 +0000 |
commit | ad78b8a6887aef944aae522884f8c9e7b91fb860 (patch) | |
tree | fb0d22fba25ac23eb653c3f28844e9d089f92187 | |
parent | 220c5f0c7f75f556a37f0b8ae25c1f5a3a69240f (diff) | |
download | gcc-ad78b8a6887aef944aae522884f8c9e7b91fb860.zip gcc-ad78b8a6887aef944aae522884f8c9e7b91fb860.tar.gz gcc-ad78b8a6887aef944aae522884f8c9e7b91fb860.tar.bz2 |
re PR rtl-optimization/42775 (GCC fails to rebuild itself with STAGE1_CFLAGS=-O1)
PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.
From-SVN: r164458
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cad3a43..3b8d418 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-09-20 Eric Botcazou <ebotcazou@adacore.com> + + PR rtl-optimization/42775 + * cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot + scheduling is enabled. + 2010-09-20 Jakub Jelinek <jakub@redhat.com> PR rtl-optimization/45728 diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 3138281..f7ce558 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -421,7 +421,10 @@ rest_of_pass_free_cfg (void) /* The resource.c machinery uses DF but the CFG isn't guaranteed to be valid at that point so it would be too late to call df_analyze. */ if (optimize > 0 && flag_delayed_branch) - df_analyze (); + { + df_note_add_problem (); + df_analyze (); + } #endif free_bb_for_insn (); |