OSDN Git Service

PR c++/53839
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2012 15:15:06 +0000 (15:15 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2012 15:15:06 +0000 (15:15 +0000)
commitf9454eafeaa9853181a2eb2d38937197636658c1
tree7660123984709b80a592d7bafa24ccf28e943258
parent8be3cc42ae4edbe11e5c23e0f85bbb6f61a78920
PR c++/53839
* semantics.c (cxx_eval_indirect_ref): If we aren't looking for an
address, make sure the value is constant.

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