[Bug c++/42055] [4.5 Regression] ICE with ambiguous template specialization

paolo at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 16 14:59:00 GMT 2009



------- Comment #1 from paolo at gcc dot gnu dot org  2009-11-16 14:58 -------
Subject: Bug 42055

Author: paolo
Date: Mon Nov 16 14:58:33 2009
New Revision: 154202

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154202
Log:
cp/
2009-11-16  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/42055
        * pt.c (determine_specialization): Assign to candidates the return
        value of the chainon called before print_candidates.

testsuite/
2009-11-16  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/42055
        * testsuite/g++.dg/template/crash92.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash92.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list