https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93323
Bug ID: 93323 Summary: Internal Compiler Error in unify at cp/pt.c:22219 Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: julius_huelsmann at freenet dot de Target Milestone: --- Created attachment 47678 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47678&action=edit The source file which throws the bug. Bug Description --------------- I was experimenting a little bit with custom class template argument deductions, and wrote the small c++ program. In case you would like to also have the (single, 13 loc) source file, I can upload that, too. I tried to adhere to the Bug submitting guidelines, and therefore only uploaded the .ii file. G++ Version and OS ------------------ g++ (GCC) 9.2.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Linux machine 5.4.12-arch1-1 #1 SMP PREEMPT Tue, 14 Jan 2020 21:44:31 +0000 x86_64 GNU/Linux the options given when GCC was configured/built; ------------------------------------------------ I use the G++ version shipped with my operating system (binary via pacman). the complete command line that triggers the bug; ------------------------------------------------ g++ -Wall -Wextra -std=c++2a -fno-strict-aliasing -fwrapv main5.cc Compile Output -------------- /home/juli/main5.cc:31:43: required from here /home/juli/main5.cc:31:43: internal compiler error: in unify, at cp/pt.c:22219 31 | const Guided k{sh, sh2, Shield<321, 3>{}}; | ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions.