This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23705] New: [4.0/4.1 Regression] zone allocator broken
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2005 23:00:54 -0000
- Subject: [Bug c++/23705] New: [4.0/4.1 Regression] zone allocator broken
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I am filing this bug to track the process of this regression.
It was caused by the following patch:
http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00129.html
2005-09-02 Mark Mitchell <mark@codesourcery.com>
PR c++/21687
* parser.c (cp_parser_class_specifier): Push/pop GC contexts
around functions in local classes.
The reason why this fails is because the zone allocator does not have ggc_{push,pop}_context.
All push/pop context's were removed in 4.0.0 for speed and they were not needed any more.
This is also a regression on the release branch from a previous release from that branch which is really
bad news.
--
Summary: [4.0/4.1 Regression] zone allocator broken
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23705