https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63885
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Wed Nov 19 22:06:26 2014 New Revision: 217815 URL: https://gcc.gnu.org/viewcvs?rev=217815&root=gcc&view=rev Log: PR c++/63885 * constexpr.c (cxx_eval_constant_expression) [PARM_DECL]: Don't complain yet about a reference. [TARGET_EXPR]: Handle TARGET_EXPR with addr == true. [ADDR_EXPR]: Make sure we don't take the address of a CONSTRUCTOR. (cxx_bind_parameters_in_call): In the new scheme addr is always false. * typeck.c (build_address): Don't take the address of a CONSTRUCTOR. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ref8.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/cp/typeck.c