aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1994-07-08 20:45:14 +0000
committerMike Stump <mrs@gcc.gnu.org>1994-07-08 20:45:14 +0000
commitd93d4205f1090161c32033c608dec5ac67016ab9 (patch)
treecb70ced3c3a2abd4edd8e1ae1c3303cc21d9e561 /gcc/expr.h
parent311862c8bed5ff4d37ae5e5e2fab91e7b69bab8b (diff)
downloadgcc-d93d4205f1090161c32033c608dec5ac67016ab9.zip
gcc-d93d4205f1090161c32033c608dec5ac67016ab9.tar.gz
gcc-d93d4205f1090161c32033c608dec5ac67016ab9.tar.bz2
fix temp lifetime (FOR TARGET_EXPRs only)
From-SVN: r7681
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 3b3ce5d..3bb9490 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -119,6 +119,12 @@ extern int pending_stack_adjust;
#ifdef TREE_CODE /* Don't lose if tree.h not included. */
extern tree cleanups_this_call;
#endif
+
+/* When temporaries are created by TARGET_EXPRs, they are created at
+ this level of temp_slot_level, so that they can remain allocated
+ until no longer needed. CLEANUP_POINT_EXPRs define the lifetime
+ of TARGET_EXPRs. */
+extern int target_temp_slot_level;
#ifdef TREE_CODE /* Don't lose if tree.h not included. */
/* Structure to record the size of a sequence of arguments