[Bug c++/77592] gcc accepts delegated constructor with circular reference

2016-09-14 Thread gawain.bolton at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77592 --- Comment #3 from Gawain Bolton --- You are absolutely right, it is my program that seg faults and not GCC. As you suggest, it would be great if GCC could give a diagnostic for delegated constructor circular references.

[Bug c++/77592] gcc accepts delegated constructor with circular reference

2016-09-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77592 --- Comment #2 from Jonathan Wakely --- (In reply to Gawain Bolton from comment #0) > Compilation segfaults using gcc v5.3, v6.1 and gcc HEAD 7.0.0 20160913 Compilation works fine, the executable segfaults, due to a stack overflow. The standard

[Bug c++/77592] gcc accepts delegated constructor with circular reference

2016-09-14 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77592 Markus Trippelsdorf changed: What|Removed |Added Keywords||accepts-invalid Status