https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81171
Bug ID: 81171 Summary: Segfault with auto template deduction Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: xonar.leroux at gmail dot com Target Milestone: --- Created attachment 41608 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41608&action=edit Smallest case which still results in segfault Running with 'g++ gcc_bug.cpp' results in 'gcc_bug.cpp:8:1: internal compiler error: Segmentation fault' Replacing auto with char results in successful compilation. VERSIONS: g++ (GCC) 7.1.1 20170516 I also tested with GCC 5.4.0 and with -std=c++14 and it also segfaults.