re PR c++/45983 (ICE: tree code 'template_parm_index' is not supported in gimple...
authorJason Merrill <jason@redhat.com>
Fri, 15 Oct 2010 21:15:13 +0000 (17:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 15 Oct 2010 21:15:13 +0000 (17:15 -0400)
commitef7659966d956c7dcb34fad217fffafc1911f69d
tree04e8ce07ecd9ef6d8a2ee44b60e0862acc2f4b41
parentba49275257912a32b155821a257024b7a6f1f0c1
re PR c++/45983 (ICE: tree code 'template_parm_index' is not supported in gimple streams with -lto)

PR c++/45983
* tree.c (cp_build_qualified_type_real): Don't reuse a variant
with a different typedef variant of the element type.

From-SVN: r165521
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr45983_0.C [new file with mode: 0644]