https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81997
Bug ID: 81997 Summary: segfault while instantiating constrained function template Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gccbugzilla at szaszm dot tk Target Milestone: --- Created attachment 42051 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42051&action=edit Preprocessed source file gcc-7.2.0 segfaults when trying to compile the following c++ code using concepts. It works without any problems when removing concepts-related code. cli log: https://pastebin.com/TDSwN6k2 source file: https://pastebin.com/ncq0CHV1 Steps to reproduce: - try to compile the attached source file with g++-7.2.0