re PR c++/69158 (ICE in in cxx_eval_indirect_ref, at cp/constexpr.c:2598)
authorJason Merrill <jason@redhat.com>
Sat, 9 Jan 2016 05:12:03 +0000 (00:12 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 9 Jan 2016 05:12:03 +0000 (00:12 -0500)
commitfe71aa4ea5d17256d6f0343fbd730a66eddd1e92
tree359b47855f934495611d898ba25a3f1b9d21d4b8
parent10909139018018853fb7e21dd3d1c54902dd0bb0
re PR c++/69158 (ICE in in cxx_eval_indirect_ref, at cp/constexpr.c:2598)

PR c++/69158

* constexpr.c (cxx_fold_indirect_ref): Handle array type differing
in completion.

From-SVN: r232186
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/init/array40.C [new file with mode: 0644]