https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99775

            Bug ID: 99775
           Summary: segmentation fault on template variable as template
                    parameter
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wouter at voti dot nl
  Target Milestone: ---

Segmentation fault with 10.x (on gotbolt ) on this code:

#include <array>

template< int N >
constexpr auto immutable_string_decimal = std::array< char, 1 >( '0' + N );

template< std::array strings > struct component_name  { };

template< int n >
struct blink : component_name< immutable_string_decimal< 8 > > { };

Reply via email to