[Issue 9847] New: ICE on CTFE literal cast(uint) on DMD 2.062

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 31 11:27:07 PDT 2013


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

           Summary: ICE on CTFE literal cast(uint) on DMD 2.062
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: oivind.loe at gmail.com


--- Comment #0 from Øivind <oivind.loe at gmail.com> 2013-03-31 11:27:03 PDT ---
Created an attachment (id=1204)
D-code and Makefile reprodusing ICE issue that appeared in DMD 2.062

I have tested the attached code on DMD 2.060 and 2.061, and there it does not
give ICE, so this is a regression. At this point, ICE is also present on
'master'.

Attached is a testcase reduced with 'dustmite'. It produces some other errors
as well because of the reduction, but please disregard them. The exact same ICE
appears in my non-reduced program. 

Extract and run with

"make clean && make"

produces:

Cleaning...
Compiling: src/main.d -> build/debug/src/main.o
src/boss/core/addr.d(9): Error: undefined identifier procId, did you mean alias
tProcId?
src/boss/core/annotstruct.d(3): Error: no identifier for declarator index
src/boss/core/annotstruct.d(3): Error: semicolon expected, not 'EOF'
src/boss/core/annotstruct.d(3): Error: undefined identifier index
src/boss/core/annotstruct.d(3): Error: constructor addr.Addr.this (_error_,
uint) is not callable using argument types (uint,uint)
src/boss/core/addr.d(6): Error: Internal Compiler Error: CTFE literal
cast(uint)PROC_INVALID
dmd: ctfeexpr.c:353: Expression* copyLiteral(Expression*): Assertion `0'
failed.
Aborted (core dumped)

-- 
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