aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-09-20 21:29:48 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-09-20 21:29:48 +0000
commitad78b8a6887aef944aae522884f8c9e7b91fb860 (patch)
treefb0d22fba25ac23eb653c3f28844e9d089f92187 /gcc/cfgrtl.c
parent220c5f0c7f75f556a37f0b8ae25c1f5a3a69240f (diff)
downloadgcc-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
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c5
1 files changed, 4 insertions, 1 deletions
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 ();