summaryrefslogtreecommitdiff
path: root/gcc/pretty-print.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-26 14:57:54 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-26 14:57:54 +0000
commit7bd935cdb41444ec4a53152aa230fc0262b63300 (patch)
treed7287d5062e65d84edb3ab01ede335336b8b4c3b /gcc/pretty-print.c
parent41e69d7b0792fd347b35d4dce100655d1f1b0fbe (diff)
downloadgcc-7bd935cdb41444ec4a53152aa230fc0262b63300.tar.gz
[./]
2013-11-26 Basile Starynkevitch <basile@starynkevitch.net> {{merge using svnmerge.py with trunk GCC 4.9 svn rev 205391 now in stage 3; very unstable}} [gcc/] 2013-11-26 Basile Starynkevitch <basile@starynkevitch.net> {{unstable, xtramelt-ana-base.melt is not translatable. Merge with trunk svn rev 205391}} * melt-run.proto.h: Move MELT_GCC_VERSION #definition above. Include basic-block.h, tree-ssa-alias.h, internal-fn.h, gimple-expr.h, is-a.h for GCC 4.9... * melt-runtime.cc: Include basic-block.h, tree-ssa-alias.h, internal-fn.h, gimple-expr.h, is-a.h, pointer-set.h for GCC 4.9... git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@205393 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/pretty-print.c')
-rw-r--r--gcc/pretty-print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c
index 8cec71b762a..955a4c45f7b 100644
--- a/gcc/pretty-print.c
+++ b/gcc/pretty-print.c
@@ -50,8 +50,8 @@ output_buffer::output_buffer ()
output_buffer::~output_buffer ()
{
- obstack_free (&chunk_obstack, obstack_finish (&chunk_obstack));
- obstack_free (&formatted_obstack, obstack_finish (&formatted_obstack));
+ obstack_free (&chunk_obstack, NULL);
+ obstack_free (&formatted_obstack, NULL);
}
/* A pointer to the formatted diagnostic message. */