https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108460
Bug ID: 108460 Summary: -Wmissing-braces with ctad Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tim at klingt dot org Target Milestone: --- consider this snippet, that uses class template argument deduction for arrays ``` #include <array> std::array a {"a", "b", "c"}; // ctad, but emits -Wmissing-braces std::array b {{"a", "b", "c"}}; // does not build ``` this makes me wonder if `-Wmissing-braces` should fire in case `a`?