re PR c++/65525 (ICE: sorry, unimplemented: unexpected AST of kind mem_ref (-std...
commit41b38772ccd584a384945c7b1fdd61f4712d9792
authorJason Merrill <jason@redhat.com>
Thu, 26 Mar 2015 17:58:39 +0000 (26 13:58 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 26 Mar 2015 17:58:39 +0000 (26 13:58 -0400)
treea7ca6ef7953068da0f3154dac01994bcb415372f
parentef99b3de9f7b97d1a3ab9f3b009c80fe26d16b33
re PR c++/65525 (ICE: sorry, unimplemented: unexpected AST of kind mem_ref (-std=c++14, ICE: in potential_constant_expression_1, at cp/constexpr.c:4432))

PR c++/65525
* constexpr.c (potential_constant_expression_1): Handle MEM_REF.

From-SVN: r221699
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/parse/assign1.C [new file with mode: 0644]