This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21687] [4.0/4.1 Regression] ICE in GC with local class inside a template function
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2005 18:18:05 -0000
- Subject: [Bug c++/21687] [4.0/4.1 Regression] ICE in GC with local class inside a template function
- References: <20050520220116.21687.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rth at gcc dot gnu dot org 2005-07-25 18:18 -------
Whatever you might think, this is not my bug.
This is the C++ front end calling ggc_collect in the middle of parsing a
function. I can't tell whether or not there is a ggc_push_context missing
when we begin parsing the local class, or if we simply shouldn't have the
collect in expand_or_defer_fn.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21687