diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-03-02 12:55:18 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-03-02 12:55:18 -0800 |
commit | 2260924f01538fc2517bb61ce2c44d47575e6654 (patch) | |
tree | 22509c5dcff009141be51e65de4624ace924f753 | |
parent | 02e39be12010054b7fb81aceb731590bf7f44843 (diff) | |
download | gcc-2260924f01538fc2517bb61ce2c44d47575e6654.zip gcc-2260924f01538fc2517bb61ce2c44d47575e6654.tar.gz gcc-2260924f01538fc2517bb61ce2c44d47575e6654.tar.bz2 |
(immed_double_const, immed_real_const_1): Likewise.
From-SVN: r3600
-rw-r--r-- | gcc/varasm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 961d340..8e05914 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1341,10 +1341,10 @@ immed_double_const (i0, i1, mode) freed memory. So switch to saveable_obstack for this allocation and then switch back if we were in current_obstack. */ - in_current_obstack = rtl_in_saveable_obstack (); + push_obstacks_nochange (); + rtl_in_saveable_obstack (); r = gen_rtx (CONST_DOUBLE, mode, 0, i0, i1); - if (in_current_obstack) - rtl_in_current_obstack (); + pop_obstacks (); /* Don't touch const_double_chain in nested function; see force_const_mem. */ @@ -1410,12 +1410,12 @@ immed_real_const_1 (d, mode) freed memory. So switch to saveable_obstack for this allocation and then switch back if we were in current_obstack. */ - in_current_obstack = rtl_in_saveable_obstack (); + push_obstacks_nochange (); + rtl_in_saveable_obstack (); r = rtx_alloc (CONST_DOUBLE); PUT_MODE (r, mode); bcopy (&u, &CONST_DOUBLE_LOW (r), sizeof u); - if (in_current_obstack) - rtl_in_current_obstack (); + pop_obstacks (); /* Don't touch const_double_chain in nested function; see force_const_mem. */ |