This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51852] [regression] [c++11] tree check: expected tree_list, have HÃÃMÃÃÃÃtxÃtsÃ
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jan 2012 09:15:13 +0000
- Subject: [Bug c++/51852] [regression] [c++11] tree check: expected tree_list, have HÃÃMÃÃÃÃtxÃtsÃ
- Auto-submitted: auto-generated
- References: <bug-51852-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51852
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-27 09:15:13 UTC ---
Actually, on a closer look, I'd say local_specializations probably should be
just local and therefore not GCed and the bug is elsewhere:
--- gcc/cp/pt.c.jj 2012-01-26 09:22:19.000000000 +0100
+++ gcc/cp/pt.c 2012-01-27 10:10:38.566458106 +0100
@@ -9582,7 +9582,7 @@ tsubst_pack_expansion (tree t, tree args
}
}
- if (saved_local_specializations)
+ if (need_local_specializations)
{
htab_delete (local_specializations);
local_specializations = saved_local_specializations;
With this it passes two. Of course this can be also combined with the
pointer_map conversion patch if desired (or that part can be queued for 4.8).