[Bug c/21879] Memory management problem in new C parser

2005-06-03 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-03 22:28 --- Subject: Bug 21879 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-06-03 22:28:24 Modified files: gcc: Change

[Bug c/21879] Memory management problem in new C parser

2005-06-03 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-03 22:25 --- Subject: Bug 21879 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-06-03 22:25:21 Modified files: gcc: ChangeLog c-decl.c Log message:

[Bug c/21879] Memory management problem in new C parser

2005-06-02 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-06-02 19:08 --- Subject: Re: Memory management problem in new C parser On Thu, 2 Jun 2005, ebotcazou at gcc dot gnu dot org wrote: > Do you mean that parser_obstack is effectively a per-toplevel-decl object and > that it

[Bug c/21879] Memory management problem in new C parser

2005-06-02 Thread ebotcazou at gcc dot gnu dot org
--- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-02 17:39 --- > I don't see anything intrinsically to do with the parser in this bug; when > a function finishes, label_context_stack_se and label_context_stack_vm > should end up as NULL so this memory should not be

[Bug c/21879] Memory management problem in new C parser

2005-06-02 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-06-02 14:17 --- Subject: Re: New: Memory management problem in new C parser On Thu, 2 Jun 2005, ebotcazou at gcc dot gnu dot org wrote: > Parser obstack memory is wrongly freed in c_parser_translation_unit, but I > don'