https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95301
Bug ID: 95301 Summary: excessive error messages Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wouter at voti dot nl Target Milestone: --- This code emits an excessive amount of error messages, which seem to repeat. Detected on windows using 10.0.1, but compiler exporer gives the same effect with 10.1 https://godbolt.org/z/AY5m-b template< typename T = int_fast64_t, T zero = 0 > class xy final { }; template< typename T, T v > class range { xy< T, v > start; xy< T, v > limit; public: range( xy< T, v > limit ): start( limit::zero, limit( limit ) // wovo missing ) after zero {} }; template<> struct box_root< bool > : _box_root< bool > {}; template< typename T > struct _no_inline_box_init : T {}; template< typename T > struct _no_inline_box_write : T {}; template< typename T > struct _no_inline_box_read : T {}; template< typename T > struct _no_inline_box_direction : T {}; template< typename T > using no_inline = _no_inline_box_init< _no_inline_box_write< _no_inline_box_read< _no_inline_box_direction< T > > > >;