[Bug c++/104523] G++ crash when compiling a simple module that includes pybind11/stl.h

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 14 20:36:55 GMT 2022


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 ....


More information about the Gcc-bugs mailing list