[Issue 18654] New: [REG2.080] ICE in tocsym.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 24 01:09:59 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18654

          Issue ID: 18654
           Summary: [REG2.080] ICE in tocsym.d
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: greensunny12 at gmail.com

```
void main()
{
    import std.algorithm, std.stdio;
    "aa_b".chunkBy!((a, b) => a == '_').writeln;
}
```


0x00005555558e5374 in toSymbol::ToSymbol::visit(FuncDeclaration*)
(this=0x7fffffffc2f0, fd=0x7ffff7ea0230) at dmd/tocsym.d:317
317                 f.Fstartline.Slinnum = fd.loc.linnum;
#0  0x00005555558e5374 in toSymbol::ToSymbol::visit(FuncDeclaration*)
(this=0x7fffffffc2f0, fd=0x7ffff7ea0230) at dmd/tocsym.d:317
#1  0x000055555583b516 in FuncDeclaration::accept(Visitor*)
(this=0x7ffff7ea0230, v=0x7fffffffc2f0) at dmd/func.d:2277
#2  0x00005555558e4bee in toSymbol(Dsymbol*) (s=0x7ffff7ea0230) at
dmd/tocsym.d:443
#3  0x00005555558ded2d in FuncDeclaration_toObjFile(FuncDeclaration*, bool)
(fd=0x7ffff7ea0230, multiobj=false) at dmd/glue.d:813
#4  0x00005555558eccc9 in toObjFile::ToObjFile::visit(FuncDeclaration*)
(this=0x7fffffffc8d8, fd=0x7ffff7ea0230) at dmd/toobj.d:312
#5  0x000055555583b516 in FuncDeclaration::accept(Visitor*)
(this=0x7ffff7ea0230, v=0x7fffffffc8d8) at dmd/func.d:2277
#6  0x00005555558ecc32 in toObjFile(Dsymbol*, bool) (ds=0x7ffff7ea0230,
multiobj=false) at dmd/toobj.d:1371
#7  0x00005555558de3b4 in genObjFile(Module*, bool) (m=0x7ffff7e9fb60,
multiobj=false) at dmd/glue.d:406
#8  0x0000555555872b91 in dmd.mars.tryMain(ulong, const(char)**)
(argv=0x7fffffffd6c8, argc=2) at dmd/mars.d:949
#9  0x000055555587351b in D main () at dmd/mars.d:1098

--


More information about the Digitalmars-d-bugs mailing list