https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113620
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 57229 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57229&action=edit Reduced testcase I reduced the testcase slightly to show it is NSDMI related dealing with a dependent value only with the specialization. Note a workaround is to add a constructor which does the initialization instead of using NSDMI.