http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53839
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-13 15:14:18 UTC --- Author: jason Date: Thu Sep 13 15:14:08 2012 New Revision: 191263 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191263 Log: PR c++/53839 * semantics.c (cxx_eval_indirect_ref): If we aren't looking for an address, make sure the value is constant. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-temp1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog