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++/53836] [4.7/4.8 Regression] ICE: unexpected expression of kind template_parm_index


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-13 15:13:40 UTC ---
Author: jason
Date: Thu Sep 13 15:13:24 2012
New Revision: 191261

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191261
Log:
    PR c++/53836
    * pt.c (value_dependent_expression_p): A TREE_LIST initializer must
    be dependent.

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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-13 15:14:41 UTC ---
Author: jason
Date: Thu Sep 13 15:14:27 2012
New Revision: 191264

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191264
Log:
    PR c++/53836
    * pt.c (value_dependent_expression_p): A TREE_LIST initializer must
    be dependent.

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


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