Thread overview
[Issue 17380] [REG 2.074.0] Compiler segfaults on undefined symbol
May 07, 2017
ag0aep6g@gmail.com
[Issue 17380] Compiler segfaults on undefined symbol
Jul 05, 2017
Walter Bright
Jul 05, 2017
Walter Bright
Oct 10, 2018
Iain Buclaw
Oct 10, 2018
Iain Buclaw
May 07, 2017
https://issues.dlang.org/show_bug.cgi?id=17380

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |ag0aep6g@gmail.com

--- Comment #1 from ag0aep6g@gmail.com ---
(In reply to kai from comment #0)
> Created attachment 1645 [details]
> Source file demonstrating the bug.

Reduced:

----
struct Int128
{
    Uint128 opCast()
    {
        return ThisTypeDoesNotExistsAndCrahesTheCompiler;
    }
    alias opCast this;
}

struct Uint128
{
    Int128 opCast() { return Int128.init; }
    alias opCast this;
}
----

Neither this reduction nor the original code compile for me with dmd 2.073.2. So this doesn't seem like a regression in 2.074 to me.

--
July 05, 2017
https://issues.dlang.org/show_bug.cgi?id=17380

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
           Hardware|x86_64                      |All
            Summary|[REG 2.074.0] Compiler      |Compiler segfaults on
                   |segfaults on undefined      |undefined symbol
                   |symbol                      |
                 OS|Linux                       |All
           Severity|regression                  |normal

--
July 05, 2017
https://issues.dlang.org/show_bug.cgi?id=17380

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
I don't think it is a regression, either.

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

--
July 05, 2017
https://issues.dlang.org/show_bug.cgi?id=17380

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/a583f97e3c99d91c499da6c3c3f22e810a5890d8 fix Issue 17380 - [REG 2.074.0] Compiler segfaults on undefined symbol

https://github.com/dlang/dmd/commit/e0223539bbdd6e0aef749ba93435c9144635d5f6 Merge pull request #6969 from WalterBright/fix17380

fix Issue 17380 - Compiler segfaults on undefined symbol

--
August 07, 2017
https://issues.dlang.org/show_bug.cgi?id=17380

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/a583f97e3c99d91c499da6c3c3f22e810a5890d8 fix Issue 17380 - [REG 2.074.0] Compiler segfaults on undefined symbol

https://github.com/dlang/dmd/commit/e0223539bbdd6e0aef749ba93435c9144635d5f6 Merge pull request #6969 from WalterBright/fix17380

--
August 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17380

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/a583f97e3c99d91c499da6c3c3f22e810a5890d8 fix Issue 17380 - [REG 2.074.0] Compiler segfaults on undefined symbol

https://github.com/dlang/dmd/commit/e0223539bbdd6e0aef749ba93435c9144635d5f6 Merge pull request #6969 from WalterBright/fix17380

--
October 10, 2018
https://issues.dlang.org/show_bug.cgi?id=17380

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc

--- Comment #6 from Iain Buclaw <ibuclaw@gdcproject.org> ---
*** Issue 6523 has been marked as a duplicate of this issue. ***

--
October 10, 2018
https://issues.dlang.org/show_bug.cgi?id=17380

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tvwhite51@gmail.com

--- Comment #7 from Iain Buclaw <ibuclaw@gdcproject.org> ---
*** Issue 9327 has been marked as a duplicate of this issue. ***

--