aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 80ddd8e..b24da96 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -621,10 +621,6 @@ int flag_volatile_static;
int flag_syntax_only = 0;
-/* Nonzero means perform global cse. */
-
-static int flag_gcse;
-
/* Nonzero means perform loop optimizer. */
static int flag_loop_optimize;
@@ -646,6 +642,10 @@ static int flag_if_conversion2;
static int flag_delete_null_pointer_checks;
+/* Nonzero means perform global CSE. */
+
+int flag_gcse = 0;
+
/* Nonzero means to do the enhanced load motion during gcse, which trys
to hoist loads by not killing them when a store to the same location
is seen. */
@@ -2921,6 +2921,9 @@ rest_of_compilation (decl)
#endif
}
+ /* Instantiate any remaining CONSTANT_P_RTX nodes. */
+ purge_builtin_constant_p ();
+
/* Move constant computations out of loops. */
if (optimize > 0 && flag_loop_optimize)