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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-03 
03:30:05 UTC ---
Author: jason
Date: Tue Jul  3 03:29:58 2012
New Revision: 189187

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189187
Log:
    PR c++/53816
    * class.c (resolves_to_fixed_type_p): Check uses_template_parms
    (current_function_decl) instead of processing_template_decl.

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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-03 
03:30:31 UTC ---
Author: jason
Date: Tue Jul  3 03:30:27 2012
New Revision: 189189

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189189
Log:
    PR c++/53816
    * class.c (resolves_to_fixed_type_p): Check uses_template_parms
    (current_function_decl) instead of processing_template_decl.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/ref6.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/class.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog

Reply via email to