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

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

https://gcc.gnu.org/g:c51ac41714469104ee6120db3eedfb0964290502

commit r9-8292-gc51ac41714469104ee6120db3eedfb0964290502
Author: Jason Merrill <ja...@redhat.com>
Date:   Wed Feb 26 13:03:23 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-26  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