https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63924

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Nov 19 03:03:45 2014
New Revision: 217749

URL: https://gcc.gnu.org/viewcvs?rev=217749&root=gcc&view=rev
Log:
    PR c++/63924
    * constexpr.c (cxx_eval_constant_expression) [PARM_DECL]: A load
    from a variable of empty class type is constant.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-empty8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.c

Reply via email to