Thread overview
[Issue 11856] DMD segfault with circular template constraints
Sep 03, 2016
timon.gehr@gmx.ch
Mar 25, 2019
Basile-z
Jul 21, 2019
Dlang Bot
Jul 21, 2019
Dlang Bot
Jul 29, 2019
Dlang Bot
Mar 21, 2020
Basile-z
September 03, 2016
https://issues.dlang.org/show_bug.cgi?id=11856

timon.gehr@gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr@gmx.ch

--- Comment #1 from timon.gehr@gmx.ch ---
Another case:

int f(T)(T t) if(!__traits(compiles,.f!T)) {
    return 0;
}
int f(T)(T t) if(!__traits(compiles,.f!T)) {
    return 1;
}
enum x=f(2);

--
March 25, 2019
https://issues.dlang.org/show_bug.cgi?id=11856

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |b2.temp@gmx.com

--
July 21, 2019
https://issues.dlang.org/show_bug.cgi?id=11856

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@Basile-z created dlang/dmd pull request #10205 "fix issue 11856 - segfault with circular template constraints" fixing this issue:

- fix issue 11856 - segfault with circular template constraints

https://github.com/dlang/dmd/pull/10205

--
July 21, 2019
https://issues.dlang.org/show_bug.cgi?id=11856

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10205 "fix issue 11856 - segfault with circular template constraints" was merged into stable:

- f93ec135b7af7c249ad60e272467514a9d0891cf by Basile Burg:
  fix issue 11856 - segfault with circular template constraints

https://github.com/dlang/dmd/pull/10205

--
July 29, 2019
https://issues.dlang.org/show_bug.cgi?id=11856

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10239 "redo fix for issue 11856: segfault with circular template constraints" was merged into stable:

- 121b29b160972349e36cf358e4d82f3660f4dc7d by Rainer Schuetze:
  redo fix for issue 11856: segfault with circular template constraints

  reverts most of PR 10205, now fixing the existing recursion check.

https://github.com/dlang/dmd/pull/10239

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=11856

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--