https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115
Bug ID: 98115 Summary: [11 Regression] error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: nathan at gcc dot gnu.org Target Milestone: --- Since the revision I see: $ cat layout.ii template <class> class Stringify; template <long N> class Stringify<const char[N]>; $ g++ layout.ii -c layout.ii:2:25: error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] 2 | template <long N> class Stringify<const char[N]>; | ^~~~~~~~~~~~~~~~~~~~~~~~ layout.ii:1:24: note: primary template ‘template<class> class Stringify’ 1 | template <class> class Stringify; | ^~~~~~~~~