]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/67364 ("accessing uninitialized member" error in constexpr context)
authorJason Merrill <jason@redhat.com>
Thu, 25 Feb 2016 14:09:24 +0000 (09:09 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Feb 2016 14:09:24 +0000 (09:09 -0500)
commit6a0cc1cd6c5f5fbc4675ac7c3e7a899a3d8d4475
tree8e2618e7f5fc2657d1aaafa6af83711025837194
parent6284a979dba8e74efe6c36b33311f1b4bac10f44
re PR c++/67364 ("accessing uninitialized member" error in constexpr context)

PR c++/67364
* constexpr.c (cxx_eval_component_reference): Don't complain about
unevaluated empty classes.

From-SVN: r233716
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp0x/constexpr-empty10.C [new file with mode: 0644]