[Bug c++/67178] New: [concepts] ICE on self-referencing concept

adrian.wielgosik at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 10 19:01:00 GMT 2015


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

            Bug ID: 67178
           Summary: [concepts] ICE on self-referencing concept
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: adrian.wielgosik at gmail dot com
  Target Milestone: ---

Created attachment 36165
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36165&action=edit
compiler output

template <class B>
concept bool SomeConcept = requires(SomeConcept val) {
        { val };
};

void function(SomeConcept) {}

int main() {
        function(1);
}


Revision 226764. Attached compiler output.



More information about the Gcc-bugs mailing list