[Bug c++/67364] [5/6 Regression] "accessing uninitialized member" error in constexpr context

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 25 14:10:00 GMT 2016


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 25 14:10:09 2016
New Revision: 233718

URL: https://gcc.gnu.org/viewcvs?rev=233718&root=gcc&view=rev
Log:
        PR c++/67364
        * constexpr.c (cxx_eval_component_reference): Don't complain about
        unevaluated empty classes.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-empty10.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/constexpr.c


More information about the Gcc-bugs mailing list