aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-04-24 15:25:06 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-04-24 15:25:06 -0400
commitae8c59c0a02903b940559fa92f948aa83e3b41c8 (patch)
tree861fa0b2bc1dc71f8602cfb2b326a03c416bd527 /gcc
parente8abc66f6066b9f808fa9d86376f950b68c3236c (diff)
downloadgcc-ae8c59c0a02903b940559fa92f948aa83e3b41c8.zip
gcc-ae8c59c0a02903b940559fa92f948aa83e3b41c8.tar.gz
gcc-ae8c59c0a02903b940559fa92f948aa83e3b41c8.tar.bz2
(expand_decl_init): Call preserve_temp_slots to keep around any temp
whose address was taken. From-SVN: r9434
Diffstat (limited to 'gcc')
-rw-r--r--gcc/stmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 36fe260..ea15c24 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -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 ();
}