https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77592
Bug ID: 77592 Summary: GCC: Compile failures with delegated constructor circular reference Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gawain.bolton at free dot fr Target Milestone: --- GCC seg faults with a program which uses delegated constructors with a circular reference. Tested using http://melpon.org/wandbox Compilation segfaults using gcc v5.3, v6.1 and gcc HEAD 7.0.0 20160913 Simplified program is as follows: struct T { T(const int i, const char * s) : T(s,i) { } T(const char * s, const int i) : T(i,s) { } }; int main() { T t{"fred",2}; return 0; }