[Bug c++/52035] [4.7 regression] internal compiler error: tree code ‘template_type_parm’ is not supported in LTO streams
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52035 --- Comment #6 from Jason Merrill jason at gcc dot gnu.org 2012-02-08 09:52:15 UTC --- Author: jason Date: Wed Feb 8 09:52:11 2012 New Revision: 184000 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=184000 Log: PR c++/52035 * pt.c (tsubst): Strip uninstantiated typedef. Added: trunk/gcc/testsuite/g++.dg/lto/pr52035_0.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/lto/README
[Bug c++/52035] [4.7 regression] internal compiler error: tree code ‘template_type_parm’ is not supported in LTO streams
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52035 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|--- |4.7.0 --- Comment #7 from Paolo Carlini paolo.carlini at oracle dot com 2012-02-08 22:47:12 UTC --- Confirmed fixed.
[Bug c++/52035] [4.7 regression] internal compiler error: tree code ‘template_type_parm’ is not supported in LTO streams
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52035 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #5 from Jason Merrill jason at gcc dot gnu.org 2012-02-06 21:28:32 UTC --- The problem here is that when we go to instantiate QVectorint, we step through the members in order. When we instantiate the declaration of insert, we're using the declaration from the out-of-class definition, which uses the size_type typedef. But we haven't instantiated size_type yet, so tsubst thinks that we're instantiating it now, and we end up just returning the version from the template.
[Bug c++/52035] [4.7 regression] internal compiler error: tree code ‘template_type_parm’ is not supported in LTO streams
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52035 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org |gnu.org |