https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100634
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:75ab8b4829dec8c70470e8225c9add964f71ed74 commit r12-933-g75ab8b4829dec8c70470e8225c9add964f71ed74 Author: Jason Merrill <ja...@redhat.com> Date: Wed May 19 17:33:21 2021 -0400 c++: _Complex template parameter [PR100634] We were crashing because invalid_nontype_parm_type_p allowed _Complex template parms, but convert_nontype_argument didn't know what to do for them. Let's just disallow it, people can and should use std::complex instead. PR c++/100634 gcc/cp/ChangeLog: * pt.c (invalid_nontype_parm_type_p): Return true for COMPLEX_TYPE. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/nontype-complex1.C: New test.