summaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/global.c b/gcc/global.c
index c60c57df64e..62b7b6273e3 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -2080,7 +2080,7 @@ rest_of_handle_global_alloc (void)
going to help here because it does not touch the artificial uses
and defs. */
df_finish_pass ();
- if (optimize)
+ if (optimize > 1)
df_live_add_problem ();
df_scan_alloc (NULL);
df_scan_blocks ();