diff --git a/gcc/toplev.c b/gcc/toplev.c
index 5bad6b4b7f620eab8cbee187074ee9f4e41089af..db70772890acda2abffbecee64abac283aff9921 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -3273,6 +3273,10 @@ rest_of_compilation (decl)
 
   resume_temporary_allocation ();
 
+  /* Show no temporary slots allocated.  */
+
+  init_temp_slots ();
+
   /* The parsing time is all the time spent in yyparse
      *except* what is spent in this function.  */