https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78767
Bug ID: 78767 Summary: ICE when inheriting constructor of base class Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: daniel+gcc at trvx dot org Target Milestone: --- Created attachment 40301 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40301&action=edit Small self-contained snippet for reproduction For the following small self-contained C++14 snippet GCC 6.2 crashes hard with an internal compiler error. I tried the same with a GCC 7 snapshot and could reproduce the issue there, too. In the Boost IRC channel Agustín Bergé told me this might be related to inheriting constructors with default arguments and that there might be some quirks related to SFINAE before C++17. ICE should still not happen. Here is the snippet for reproduction, the ICE log and LLVM's error message for the snippet. https://gist.github.com/daniel-j-h/12c8b7f1c59b5a76c7e75dab38eb06fe#file-crash-cc