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

           Summary: SEG-V at expression.c:6255 from bad code
           Product: D
           Version: 2.039
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: shro8...@vandals.uidaho.edu


--- Comment #0 from BCS <shro8...@vandals.uidaho.edu> 2010-01-23 13:03:57 PST 
---
Created an attachment (id=554)
patch to convert seg-v to assert

I'm getting a seg-v (not an assert) at expression.c:6255 from some bad template
code.

this is the test case:

http://www.dsource.org/projects/scrapple/browser/trunk/units/si2.d?rev=689

compile with "-unittest -version=BUG" to get error
compile with "-unittest" to get correct result.

attached is a patch that converts the seg-v to an assert.

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

Reply via email to