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. PR c++/90951 * constexpr.c (cxx_eval_array_reference): {}-initialize missing elements instead of value-initializing them.
Showing
Please
register
or
sign in
to comment