Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
November 21, 2019 [Issue 20130] ICE illegal instruction when casting imported string | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com Hardware|x86_64 |All OS|Linux |All --- Comment #1 from Basile-z <b2.temp@gmx.com> --- this is an __ArrayCast that's not written. Can be more simply reproduced with void main() { enum string a = "a"; immutable array = cast(uint[])a; } casting from strings is seriously broken (import() gives a string) -- |
November 21, 2019 [Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE illegal instruction |ICE when casting from |when casting imported |string to other array type |string |due to __ArrayCast not | |being written -- |
November 21, 2019 [Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 --- Comment #2 from Basile-z <b2.temp@gmx.com> --- little error in the reduced TC. Take this one. ---- void main() { enum string a = "a"; auto array = cast(uint[])a; } ---- -- |
December 12, 2019 [Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |siudej@gmail.com --- Comment #4 from Basile-z <b2.temp@gmx.com> --- *** Issue 20319 has been marked as a duplicate of this issue. *** -- |
December 19, 2019 [Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #5 from Walter Bright <bugzilla@digitalmars.com> --- With a debug build of the compiler, this yields: core.exception.AssertError@dmd/e2ir.d(4308): This case should have been rewritten to `__ArrayCast` in the semantic phase Which shows once again the release build of dmd should NOT have asserts turned off. -- |
December 19, 2019 [Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=20457 -- |
March 18, 2020 [Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> --- @BorisCarvajal created dlang/dmd pull request #10941 "Fix Issue 20130 - ICE when casting from string to other array type du…" fixing this issue: - Fix Issue 20130 - ICE when casting from string to other array type due to __ArrayCast not being written https://github.com/dlang/dmd/pull/10941 -- |
March 19, 2020 [Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #10941 "Fix Issue 20130 - ICE when casting from string to other array type du…" was merged into stable: - 8f2485277661b42be1d44236d2572a0ab7048324 by Boris Carvajal: Fix Issue 20130 - ICE when casting from string to other array type due to __ArrayCast not being written https://github.com/dlang/dmd/pull/10941 -- |
March 21, 2020 [Issue 20130] ICE when casting from string to other array type due to __ArrayCast not being written | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20130 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- |
Copyright © 1999-2021 by the D Language Foundation