public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23705] New: [4.0/4.1 Regression] zone allocator broken
@ 2005-09-02 23:00 pinskia at gcc dot gnu dot org
  2005-09-02 23:01 ` [Bug c++/23705] " pinskia at gcc dot gnu dot org
  2005-09-04  4:11 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-02 23:00 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/23705] [4.0/4.1 Regression] zone allocator broken
  2005-09-02 23:00 [Bug c++/23705] New: [4.0/4.1 Regression] zone allocator broken pinskia at gcc dot gnu dot org
@ 2005-09-02 23:01 ` pinskia at gcc dot gnu dot org
  2005-09-04  4:11 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-02 23:01 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org
      Known to fail|                            |4.0.2
      Known to work|                            |4.0.0 4.0.1
   Target Milestone|---                         |4.0.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23705


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/23705] [4.0/4.1 Regression] zone allocator broken
  2005-09-02 23:00 [Bug c++/23705] New: [4.0/4.1 Regression] zone allocator broken pinskia at gcc dot gnu dot org
  2005-09-02 23:01 ` [Bug c++/23705] " pinskia at gcc dot gnu dot org
@ 2005-09-04  4:11 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-04  4:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-04 04:11 -------
Fixed by:
2005-09-03  Mark Mitchell  <mark@codesourcery.com>

	PR c++/21687
	* semantics.c (expand_or_defer_fn): Do not call ggc_collect when
	finishing processing for a template function in a local class.
	Revert:
	2005-09-02  Mark Mitchell  <mark@codesourcery.com>
	* parser.c (cp_parser_class_specifier): Push/pop GC contexts
	around functions in local classes.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23705


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-04  4:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-02 23:00 [Bug c++/23705] New: [4.0/4.1 Regression] zone allocator broken pinskia at gcc dot gnu dot org
2005-09-02 23:01 ` [Bug c++/23705] " pinskia at gcc dot gnu dot org
2005-09-04  4:11 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).