diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-06-06 12:15:24 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-06-06 12:15:24 -0700 |
commit | e6f379d049bbdea64e637b13faef8dc656758631 (patch) | |
tree | 5c986cd3a6e7c8e121509513160182dc2ff85729 /gcc/c-decl.c | |
parent | a0128b67f491807d78d52d37ed7144570a93c55a (diff) | |
download | gcc-e6f379d049bbdea64e637b13faef8dc656758631.zip gcc-e6f379d049bbdea64e637b13faef8dc656758631.tar.gz gcc-e6f379d049bbdea64e637b13faef8dc656758631.tar.bz2 |
(grokdeclarator): Call pop_obstacks after creating
TYPE_DECL.
From-SVN: r12178
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index de3f1c1..8e04798 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; } |