re PR c++/49290 ([C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795)
authorJason Merrill <jason@redhat.com>
Tue, 14 Jun 2011 18:15:43 +0000 (14:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 14 Jun 2011 18:15:43 +0000 (14:15 -0400)
commit11f449abc6fc745486699f2f7079497d4c582d40
tree4f165ec8e718ed30836e45e57e1842a5f4d553fa
parent870c3cf85df843ce0ead00bcd9886f5ead4df98a
re PR c++/49290 ([C++0x] ICE in in cxx_eval_indirect_ref, at cp/semantics.c:6795)

PR c++/49290
* semantics.c (cxx_fold_indirect_ref): Local, more permissive copy
of fold_indirect_ref_1.
(cxx_eval_indirect_ref): Use it.

From-SVN: r175041
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-array-ptr7.C [new file with mode: 0644]