https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:a72e782528749bf553158039783ce79fa760e3a4 commit r14-11349-ga72e782528749bf553158039783ce79fa760e3a4 Author: Jason Merrill <ja...@redhat.com> Date: Tue Jan 28 17:39:41 2025 -0500 c++: disable initializer_list transformation PRs 118673 and 118285 are wrong-code bugs with the transformation to build an initializer_list backing array from a static array of the initializer expressions; let's disable that transformation on the GCC 14 branch. PR c++/118673 PR c++/118285 gcc/cp/ChangeLog: * call.cc (convert_like_internal) [ck_list]: Stop using maybe_init_list_as_array for GCC 14. gcc/testsuite/ChangeLog: * g++.dg/tree-ssa/initlist-opt5.C: Add xfail.