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

            Bug ID: 66758
           Summary: [concepts] ICE compiler deeply confused by
                    simple-seeming concept definition
           Product: gcc
           Version: c++-concepts
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eric.niebler at gmail dot com
  Target Milestone: ---

Created attachment 35906
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35906&action=edit
preprocessed source

Compile attachment with "/usr/local/gcc-concepts/bin/g++.exe -std=c++1z -Tp -c
foundational.cpp.i"

Result:

/cygdrive/c/Users/eric/Code/cmcstl2/include/stl2/concepts/foundational.hpp:30:19:
internal compiler error: Segmentation fault
   Destructible<T>() &&
                   ^

/cygdrive/c/Users/eric/Code/cmcstl2/include/stl2/concepts/foundational.hpp:30:19:
internal compiler error: Aborted
g++: internal compiler error: Aborted (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Hard for me to guess what the problem could be. A cursory attempt to reduce the
error caused it to go away.

Reply via email to