OSDN Git Service

PR c++/49988
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Aug 2011 04:38:08 +0000 (04:38 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 Aug 2011 04:38:08 +0000 (04:38 +0000)
commit8ec04f6387ad1f17c1272f7a224903a866299561
tree4c66c3289579d0bc2aef560cc132638a5166e64f
parent8c356a163cee7273beae6c64628745cc18477e70
PR c++/49988
* semantics.c (cxx_eval_array_reference): Handle failure to
reduce the array operand to something we can work with.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@177500 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-non-const-arg3.C [new file with mode: 0644]