This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/62659] [4.9/5 regression] Regression in template argument substitution in 4.9+
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Sep 2014 18:00:32 +0000
- Subject: [Bug c++/62659] [4.9/5 regression] Regression in template argument substitution in 4.9+
- Auto-submitted: auto-generated
- References: <bug-62659-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62659
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Sep 5 18:00:00 2014
New Revision: 214975
URL: https://gcc.gnu.org/viewcvs?rev=214975&root=gcc&view=rev
Log:
PR c++/62659
* semantics.c (potential_constant_expression_1): Handle un-folded
pointer to member constants.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/ptrmem29.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/semantics.c