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).