[Bug c++/53839] [4.7/4.8 Regression] [C++11] internal compiler error: in adjust_temp_type, at cp/semantics.c:6391

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 13 15:14:00 GMT 2012


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



More information about the Gcc-bugs mailing list