Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
January 14, 2015 [Issue 13969] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13969 --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> --- Reduced test case (remove dependency to Phobos): struct IotaResult { int pastLast; int step; size_t length() const { if (step > 0) return pastLast / step; else return pastLast / -step; } } struct Cycle { IotaResult _original; size_t _index; this(IotaResult input, size_t i = 0) { _index = i % _original.length(); } } void main() { auto c = Cycle(IotaResult(0, -1)); } -- |
January 14, 2015 [Issue 13969] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13969 --- Comment #2 from bearophile_hugs@eml.cc --- (In reply to Kenji Hara from comment #1) > Reduced test case (remove dependency to Phobos): Further reduction: struct Foo { int x, y; int bar() const { if (y > 0) return x / y; else return x / -y; } } Foo f; int n; void main() { n = 0 % f.bar(); } -- |
January 14, 2015 [Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13969 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice Summary|[ICE] (backend\cgcod.c |[REG2.063] [ICE] |2309) with |(backend\cgcod.c 2309) with |cycle(iota(a,b,s)) |cycle(iota(a,b,s)) Severity|normal |regression --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> --- This is a backend codegen regression from 2.063, introduced in: https://github.com/D-Programming-Language/dmd/pull/1893 -- |
January 31, 2015 [Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13969 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #4 from Walter Bright <bugzilla@digitalmars.com> --- Further reduction: struct Foo { int x, y; } int xxx(const Foo* f) { return 0 % ((f.y > 0) ? f.x / f.y : f.x / -f.y); } -- |
February 01, 2015 [Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13969 --- Comment #5 from Walter Bright <bugzilla@digitalmars.com> --- https://github.com/D-Programming-Language/dmd/pull/4364 -- |
February 01, 2015 [Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13969 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |All OS|Windows |All -- |
February 01, 2015 [Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13969 --- Comment #6 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/02f8cde5973b7cfc2e24e41e893068e4947edf06 fix Issue 13969 - [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) https://github.com/D-Programming-Language/dmd/commit/e542e145b9fac61233e98f9188532a563d62eda7 Merge pull request #4364 from WalterBright/fix13969 [REG]: fix Issue 13969 - [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s)) -- |
Copyright © 1999-2021 by the D Language Foundation