and another one
authorJason Merrill <jason@gcc.gnu.org>
Sun, 16 May 1999 20:52:10 +0000 (16:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sun, 16 May 1999 20:52:10 +0000 (16:52 -0400)
From-SVN: r26954

gcc/cp/init.c

index 7ca00053861701a7615b19cc3df536f383a5ec78..aa2795a3a6e966fd15105ee2d4c118c2b61e49e4 100644 (file)
@@ -2210,7 +2210,9 @@ build_new_1 (exp)
     {
       tree extra = BI_header_size;
 
+      susp = suspend_momentary ();
       size = size_binop (PLUS_EXPR, size, extra);
+      resume_momentary (susp);
     }
 
   if (has_array)