aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-09-28 21:24:47 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-09-28 21:24:47 -0400
commit0eb202977b11c6a77c28a44e66e5d31b89cc6a82 (patch)
treeb58aadc30b2d704cccdc0c27194bb693f8603635 /gcc
parentaf463efd96d50cb3dd6090b2ab73732d5d6eee4d (diff)
downloadgcc-0eb202977b11c6a77c28a44e66e5d31b89cc6a82.zip
gcc-0eb202977b11c6a77c28a44e66e5d31b89cc6a82.tar.gz
gcc-0eb202977b11c6a77c28a44e66e5d31b89cc6a82.tar.bz2
(push_temp_slots, pop_temp_slots): Always change level.
From-SVN: r5523
Diffstat (limited to 'gcc')
-rw-r--r--gcc/function.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 455395b..3956969 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -916,14 +916,6 @@ free_temp_slots ()
void
push_temp_slots ()
{
- /* For GNU C++, we must allow a sequence to be emitted anywhere in
- the level where the sequence was started. By not changing levels
- when the compiler is inside a sequence, the temporaries for the
- sequence and the temporaries will not unwittingly conflict with
- the temporaries for other sequences and/or code at that level. */
- if (in_sequence_p ())
- return;
-
temp_slot_level++;
}
@@ -935,11 +927,6 @@ pop_temp_slots ()
{
struct temp_slot *p;
- /* See comment in push_temp_slots about why we don't change levels
- in sequences. */
- if (in_sequence_p ())
- return;
-
for (p = temp_slots; p; p = p->next)
if (p->in_use && p->level == temp_slot_level)
p->in_use = 0;