[Bug c++/51194] [C++0x] ICE about template aliasing

dodji at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 20 07:19:00 GMT 2011


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

--- Comment #6 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-11-20 07:10:31 UTC ---
Author: dodji
Date: Sun Nov 20 07:10:24 2011
New Revision: 181523

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181523
Log:
PR c++/51194 - ICE with invalid alias template

gcc/cp/

    PR c++/51194
    * pt.c (lookup_template_class_1): Go out early if the type of the
    template is error_mark_node.

gcc/testsuite/

    PR c++/51194
    * g++.dg/cpp0x/alias-decl-15.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list