This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53624] GCC rejects function local types in template function with default template arguments


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

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-07-31 09:46:59 UTC ---
Author: paolo
Date: Tue Jul 31 09:46:46 2012
New Revision: 190001

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190001
Log:
/cp
2012-07-31  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/53624
    * pt.c (check_default_tmpl_args): Don't check local types.

/testsuite
2012-07-31  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/53624
    * g++.dg/cpp0x/temp_default5.C: New.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]