ldc-developers/ldc — Issue #60: [D1] Floating point exception compiling Tango 
Author: mwarning
Created: 2012-01-08 22:59:43+00:00
State: open

This line:
ldc -c -Itango/core -Itango/core/rt/compiler/ldc -I. -Itango/core/vendor -release -ofobjs/tango-util-digestWhirlpool-release.o tango/util/digest/Whirlpool.d

Produces the following error:
```
Program received signal SIGFPE, Arithmetic exception.
StringTable::search (this=0x1386a70, s=0x1569ae0 "_arraySliceSliceXorSliceAssign_m", len=32)
at /home/mwarning/otherProjects/ldc/dmd/root/stringtable.c:72
72 u = hash % tabledim;
(gdb) bt
#0 StringTable::search (this=0x1386a70, s=0x1569ae0 "_arraySliceSliceXorSliceAssign_m", len=32)
at /home/mwarning/otherProjects/ldc/dmd/root/stringtable.c:72
#1 0x0000000000598b0d in StringTable::update (this=, s=0x1569ae0 "_arraySliceSliceXorSliceAssign_m", len=32)
at /home/mwarning/otherProjects/ldc/dmd/root/stringtable.c:111
#2 0x000000000059cf84 in BinExp::arrayOp (this=0x1569940, sc=0x1562920) at /home/mwarning/otherProjects/ldc/dmd/arrayop.c:132
#3 0x00000000005cb188 in VarDeclaration::semantic (this=0x1390510, sc=0x1562920) at /home/mwarning/otherProjects/ldc/dmd/declaration.c:1159
#4 0x00000000005b68ee in semantic (sc=0x1562840, this=0x13906a0) at /home/mwarning/otherProjects/ldc/dmd/expression.c:4431
#5 DeclarationExp::semantic (this=0x13906a0, sc=0x1562840) at /home/mwarning/otherProjects/ldc/dmd/expression.c:4405
#6 0x00000000005fe19b in ExpStatement::semantic (this=0x1390670, sc=0x1562840) at /home/mwarning/otherProjects/ldc/dmd/statement.c:260

```