[Issue 14304] [REG2.067a] ICE with static immutable variable CTFE

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Mar 19 18:18:08 PDT 2015


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull
           Hardware|x86_64                      |All
            Summary|dmd: interpret.c:6724: void |[REG2.067a] ICE with static
                   |setValue(VarDeclaration*,   |immutable variable CTFE
                   |Expression*): Assertion     |
                   |`(vd->storage_class &       |
                   |(0x1000LL | 0x200000LL)) ?  |
                   |isCtfeReferenceValid(newval |
                   |) :                         |
                   |isCtfeValueValid(newval)'   |
                   |failed.                     |
                 OS|Linux                       |All

--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> ---
The occurred ICE (moved from the summary):

dmd: interpret.c:6724: void setValue(VarDeclaration*, Expression*): Assertion
`(vd->storage_class & (0x1000LL | 0x200000LL)) ? isCtfeReferenceValid(newval) :
isCtfeValueValid(newval)' failed.


Compiler fix:

https://github.com/D-Programming-Language/dmd/pull/4503

--


More information about the Digitalmars-d-bugs mailing list