https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104523
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Ever confirmed|0 |1 Last reconfirmed|2022-02-13 00:00:00 |2022-02-14 Status|UNCONFIRMED |NEW --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, reduced testcase: # 1 "mysource.cc" module ; # 1 "myheader.h" 1 template<typename _CharT> class t { template<typename> friend class tt; }; t<int> to_wstring() { } # 4 "mysource.cc" 2 export module mymodule; Or maybe that is a regression from before ....