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  <[EMAIL PROTECTED]>

        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

Reply via email to