decl.c (start_enum): Use push_obstacks, not end_temporary_allocation.
authorMark Mitchell <mark@markmitchell.com>
Thu, 10 Dec 1998 15:08:45 +0000 (15:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 10 Dec 1998 15:08:45 +0000 (15:08 +0000)
commitea585788ba7c48bbeec2ed953224a06bb1ebe0ac
tree5fca743a2eb2948dee6bc32579670f5c8a40269e
parentcbf882afb3a22b691ae4097273a607c597bec901
decl.c (start_enum): Use push_obstacks, not end_temporary_allocation.

* decl.c (start_enum): Use push_obstacks, not
end_temporary_allocation.
(finish_enum): Call pop_obstacks.

From-SVN: r24244
gcc/cp/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/crash6.C [new file with mode: 0644]