From: Jim Wilson Date: Tue, 2 Mar 1993 20:55:53 +0000 (-0800) Subject: (gen_sequence): Add push_obstacks_nochange and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d508ebba63354cc0ebe3d566fbb7cd7bfb681e96;p=gcc.git (gen_sequence): Add push_obstacks_nochange and pop_obstacks calls around rtl_in_saveable_obstack call. From-SVN: r3601 --- 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++)