https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102990
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |8.5.0 Summary|ICE in |[9/10/11/12 Regression] ICE |tsubst_copy_and_build with |in tsubst_copy_and_build |template non-type arugment |with NSDMI and double to |and double to int |int conversion |conversion | Target Milestone|--- |9.5 CC| |mpolacek at gcc dot gnu.org, | |ppalka at gcc dot gnu.org Known to fail| |10.3.0, 11.2.0, 12.0, 9.4.0 --- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> --- Reduced C++11 ICE-on-valid testcase: struct knob_t { int value = 1.0; }; struct Helpers { knob_t inputs; }; template<class> void f(decltype(Helpers{})); ICEs with -std=c++14 since r9-5678 (but -std=c++11 is ok)