[Issue 4750] fail_compilation/fail225.d causes dmd to segv

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 13 17:39:19 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4750



--- Comment #4 from Brad Roberts <braddr at puremagic.com> 2011-02-13 17:36:48 PST ---
I just re-tried this one.  It still fails on linux but not on windows.  Odd.

#0  0x080b5f22 in Type::isImmutable (this=0x0) at mtype.h:256
#1  0x08134fbb in Type::invariantOf (this=0x0) at mtype.c:383
#2  0x08136cc3 in Type::castMod (this=0x0, mod=4) at mtype.c:1079
#3  0x080538b5 in StructLiteralExp::implicitConvTo (this=0x8250da8,
t=0x8255a18) at cast.c:429
#4  0x080b3bb7 in VarDeclaration::semantic (this=0x821edd0, sc=0x8255730) at
declaration.c:1175
#5  0x080e089f in DeclarationExp::semantic (this=0x821ee78, sc=0x8255620) at
expression.c:4707
#6  0x0816b76a in ExpStatement::semantic (this=0x821ee60, sc=0x8255620) at
statement.c:256
#7  0x0816c36e in CompoundStatement::semantic (this=0x821eea8, sc=0x8255620) at
statement.c:483
#8  0x080fd84a in FuncDeclaration::semantic3 (this=0x821e918, sc=0x8255590) at
func.c:1239
#9  0x081333b2 in Module::semantic3 (this=0x821e1d8) at module.c:859
#10 0x08130884 in main (argc=13, argv=0x8214510) at mars.c:1204

#3  0x080538b5 in StructLiteralExp::implicitConvTo (this=0x8250da8,
t=0x8255a18) at cast.c:429
429                 te = te->castMod(t->mod)

te is null
e->toChars() --> &ch

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list