[Bug c++/25185] deep typedef substitution in error message

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Apr 4 19:19:00 GMT 2009



------- Comment #22 from jason at gcc dot gnu dot org  2009-04-04 19:19 -------
Subject: Bug 25185

Author: jason
Date: Sat Apr  4 19:19:30 2009
New Revision: 145550

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145550
Log:
        PR c++/25185
        * error.c (dump_template_bindings): Look through typedefs in
        typename results.
        (dump_type) [TYPENAME_TYPE]: Print the typedef name if any.
        (find_typenames_r): Also collect typedefs.
        * pt.c (unify): Strip typedefs.

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


-- 


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



More information about the Gcc-bugs mailing list