https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106675
Bug ID: 106675 Summary: g++ crashes on funky operators Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: izaberina at gmail dot com Target Milestone: --- Created attachment 53472 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53472&action=edit short repro Attached is a small reproducer of something that originally came from boost::system::error_code. g++ from v11 onward crashes on it: https://godbolt.org/z/nYqo1zj31