(expand_decl_init): Call preserve_temp_slots to keep around any temp
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 24 Apr 1995 19:25:06 +0000 (15:25 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 24 Apr 1995 19:25:06 +0000 (15:25 -0400)
whose address was taken.

From-SVN: r9434

gcc/stmt.c

index 36fe26024cd15a450cf1a489db73776dd1f03f71..ea15c248eaf76b3fca64a2c6d7f73cfc50b56193 100644 (file)
@@ -3523,6 +3523,7 @@ expand_decl_init (decl)
   TREE_USED (decl) = was_used;
 
   /* Free any temporaries we made while initializing the decl.  */
+  preserve_temp_slots (NULL_RTX);
   free_temp_slots ();
 }