[Bug c++/110523] [14 Regression] ICE in redeclare_class_template, at cp/pt.cc:6391 on json-3.11.2

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 10 14:35:17 GMT 2023


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Simplified:

template<template<class, class> class>
class basic_json;

template<class> struct json_pointer {
  template<template<class, class> class> friend class basic_json;
};

template struct json_pointer<int>;
template struct json_pointer<char>;
template struct json_pointer<long>;


More information about the Gcc-bugs mailing list