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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:300d219af336436fbb58043db193f54d2a1b4b49

commit r8-10054-g300d219af336436fbb58043db193f54d2a1b4b49
Author: Jason Merrill <ja...@redhat.com>
Date:   Mon Feb 24 16:22:45 2020 -0500

    c++: Fix constexpr vs. omitted aggregate init.

    Value-initialization is importantly different from {}-initialization for
    this testcase, where the former calls the deleted S constructor and the
    latter initializes S happily.

    gcc/cp/ChangeLog
    2020-02-24  Jason Merrill  <ja...@redhat.com>

        PR c++/90951
        * constexpr.c (cxx_eval_array_reference): {}-initialize missing
        elements instead of value-initializing them.

Reply via email to