https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58908
Maarten de Vries <maarten+gcc at m dot de-vri.es> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maarten+gcc at m dot de-vri.es --- Comment #2 from Maarten de Vries <maarten+gcc at m dot de-vri.es> --- Created attachment 42270 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42270&action=edit simplified test case I attached a minimal example (slightly more minimal than the original). Some additional info: The ICE only occurs for me when compiling with `-std=c++17` (or `gnu++17`). With `-std=c++14` or older I get no error. The problem is not limited to `std::vector`. Any initializer list seems to trigger the problem. Removing the custom constructor from `Derived` makes the error go away. Adding or removing a custom constructor to `Base` doesn't make a difference. > $ gcc -std=c++14 gcc-internal-error-process_init_constructor_array.cpp && > echo "Success" > Success > $ gcc -std=c++17 gcc-internal-error-process_init_constructor_array.cpp && > echo "Success" > gcc-internal-error-process_init_constructor_array.cpp:12:1: internal compiler > error: in process_init_constructor_array, at cp/typeck2.c:1308 > }; > ^ > Please submit a full bug report, > with preprocessed source if appropriate. > See <https://bugs.archlinux.org/> for instructions.