[Bug c++/65525] [5 Regression] ICE: sorry, unimplemented: unexpected AST of kind mem_ref (-std=c++14, ICE: in potential_constant_expression_1, at cp/constexpr.c:4432)
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 26 18:31:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65525
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Mar 26 17:58:39 2015
New Revision: 221699
URL: https://gcc.gnu.org/viewcvs?rev=221699&root=gcc&view=rev
Log:
PR c++/65525
* constexpr.c (potential_constant_expression_1): Handle MEM_REF.
Added:
trunk/gcc/testsuite/g++.dg/parse/assign1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list