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++/62659] [4.9/5 regression] Regression in template argument substitution in 4.9+


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62659

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Sep  5 17:59:40 2014
New Revision: 214974

URL: https://gcc.gnu.org/viewcvs?rev=214974&root=gcc&view=rev
Log:
    PR c++/62659
    * semantics.c (potential_constant_expression_1): Handle un-folded
    pointer to member constants.

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


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