From: Jim Wilson Date: Thu, 6 Jun 1996 19:15:24 +0000 (-0700) Subject: (grokdeclarator): Call pop_obstacks after creating X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6f379d049bbdea64e637b13faef8dc656758631;p=gcc.git (grokdeclarator): Call pop_obstacks after creating TYPE_DECL. From-SVN: r12178 --- diff --git a/gcc/c-decl.c b/gcc/c-decl.c index de3f1c1fe71..8e047987e2e 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -4796,11 +4796,11 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) pedwarn ("ANSI C forbids const or volatile function types"); if (constp || volatilep) type = c_build_type_variant (type, constp, volatilep); - pop_obstacks (); decl = build_decl (TYPE_DECL, declarator, type); if ((specbits & (1 << (int) RID_SIGNED)) || (typedef_decl && C_TYPEDEF_EXPLICITLY_SIGNED (typedef_decl))) C_TYPEDEF_EXPLICITLY_SIGNED (decl) = 1; + pop_obstacks (); return decl; }