Thread overview
[Issue 12381] [REG2.065] [ICE] An internal error in e2ir.c while casting array ops
[Issue 12381] [ICE] Two internal errors in e2ir.c while casting array ops
Sep 21, 2014
Kenji Hara
[Issue 12381] [ICE] An internal error in e2ir.c while casting array ops
Sep 21, 2014
Kenji Hara
Sep 21, 2014
Kenji Hara
Sep 21, 2014
Kenji Hara
September 21, 2014
https://issues.dlang.org/show_bug.cgi?id=12381

--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> ---
(In reply to Philippe Sigaud from comment #0)
> I get two different ICE while casting an array operation:
[snip]
>   double[2] temp2 = cast(double[2])(y[]); // Internal error: e2ir.c 4616

The 2nd case is a dup of issue 13437, and already fixed in git-head.

--
September 21, 2014
https://issues.dlang.org/show_bug.cgi?id=12381

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[ICE] Two internal errors   |[ICE] An internal error in
                   |in e2ir.c while casting     |e2ir.c while casting array
                   |array ops                   |ops

--
September 21, 2014
https://issues.dlang.org/show_bug.cgi?id=12381

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[ICE] An internal error in  |[REG2.065] [ICE] An
                   |e2ir.c while casting array  |internal error in e2ir.c
                   |ops                         |while casting array ops
           Severity|normal                      |regression

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
(In reply to Philippe Sigaud from comment #0)
> I get two different ICE while casting an array operation:
[snip]
>   //double[2] temp1 = cast(double[2])(h*y[]); // Internal error: e2ir.c 2077

The first case is a regression from 2,065, as same as issue 13497.

--
September 21, 2014
https://issues.dlang.org/show_bug.cgi?id=12381

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull

--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/4011

--
September 30, 2014
https://issues.dlang.org/show_bug.cgi?id=12381

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/23a9162f0d2b10312076a1949f587dedfa5f9d82 fix Issue 12381 - [ICE] An internal error in e2ir.c while casting array ops

https://github.com/D-Programming-Language/dmd/commit/518801d54a1364d26f9b30cf1fde4d53f6c254da Merge pull request #4011 from 9rnsr/fix_arrayop

[REG2.065] Issue 13497 & 12381 - fix remaind e2ir ICE around array ops

--
September 30, 2014
https://issues.dlang.org/show_bug.cgi?id=12381

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
February 19, 2015
https://issues.dlang.org/show_bug.cgi?id=12381

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to 2.067 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/23a9162f0d2b10312076a1949f587dedfa5f9d82 fix Issue 12381 - [ICE] An internal error in e2ir.c while casting array ops

https://github.com/D-Programming-Language/dmd/commit/518801d54a1364d26f9b30cf1fde4d53f6c254da Merge pull request #4011 from 9rnsr/fix_arrayop

--