[Bug c++/45983] [4.5 Regression] ICE: tree code 'template_parm_index' is not supported in gimple streams with -lto

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 20 15:05:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45983

--- Comment #16 from Jason Merrill <jason at gcc dot gnu.org> 2010-10-20 15:05:28 UTC ---
Author: jason
Date: Wed Oct 20 15:05:22 2010
New Revision: 165728

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165728
Log:
    PR c++/45983
    * tree.c (cp_build_qualified_type_real): Don't reuse a variant
    with a different typedef variant of the element type.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/lto/pr45983_0.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/tree.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list