re PR lto/45959 (ICE: tree code 'template_type_parm' is not supported in gimple strea...
authorJason Merrill <jason@gcc.gnu.org>
Mon, 11 Oct 2010 13:25:37 +0000 (09:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 11 Oct 2010 13:25:37 +0000 (09:25 -0400)
commit9c3c8ad74024641107dc60942263e502371eb50b
treeb3746a8c2d5dee63f0cbc52c321f3735ed994ecd
parentd6d5951a4a7f3ed219ea5be8c9a377cfb16f62d8
re PR lto/45959 (ICE: tree code 'template_type_parm' is not supported in gimple streams with -flto/-fwhopr)

PR lto/45959
PR lto/45960
* pt.c (tsubst_copy) [INTEGER_CST]: Instantiate the type.

From-SVN: r165306
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/20101010-1_0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/20101010-2_0.C [new file with mode: 0644]