From d508ebba63354cc0ebe3d566fbb7cd7bfb681e96 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 2 Mar 1993 12:55:53 -0800 Subject: [PATCH] (gen_sequence): Add push_obstacks_nochange and pop_obstacks calls around rtl_in_saveable_obstack call. From-SVN: r3601 --- gcc/emit-rtl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 960c8849c79..356a6ff9bcf 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -2677,10 +2677,10 @@ gen_sequence () { /* Ensure that this rtl goes in saveable_obstack, since we may be caching it. */ - int in_current_obstack = rtl_in_saveable_obstack (); + push_obstacks_nochange (); + rtl_in_saveable_obstack (); result = gen_rtx (SEQUENCE, VOIDmode, rtvec_alloc (len)); - if (in_current_obstack) - rtl_in_current_obstack (); + pop_obstacks (); } for (i = 0, tem = first_insn; tem; tem = NEXT_INSN (tem), i++) -- 2.30.2