summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-08 20:45:14 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1994-07-08 20:45:14 +0000
commit6fd6341fc000a75eecd937913459e2c6e5036d8e (patch)
treecb70ced3c3a2abd4edd8e1ae1c3303cc21d9e561 /gcc/expr.h
parent6851745a46822473e42f135eacc79bcc5c324402 (diff)
downloadgcc-6fd6341fc000a75eecd937913459e2c6e5036d8e.tar.gz
fix temp lifetime (FOR TARGET_EXPRs only)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7681 138bc75d-0d04-0410-961f-82ee72b054a4
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 3b3ce5d2a8a..3bb94907e1e 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