[Bug c++/105803] [13 regression] ICE at gcc/cp/pt.cc:27737 after r13-860-gff91735a5b861d

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 1 20:11:25 GMT 2022


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

--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Reduced:

namespace std {
template <typename> class shared_ptr;
}
struct S {};
template <int> void build_matrices() {
  std::shared_ptr<S>(new S);
}


More information about the Gcc-bugs mailing list