Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
September 10, 2014 [Issue 11903] Internal error: backend/cgcs.c 351 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11903 --- Comment #4 from hsteoh@quickfur.ath.cx --- Reproduced error in git HEAD, only happens when compiling with -unittest. -- |
September 22, 2014 [Issue 11903] Internal error: backend/cgcs.c 351 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11903 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical -- |
May 31, 2019 [Issue 11903] Internal error: backend/cgcs.c 351 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11903 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code CC| |b2.temp@gmx.com --- Comment #5 from Basile-z <b2.temp@gmx.com> --- reduced, no need for -unittest, should be a fail compilation: --- struct Foo { int[] list; } void main() { enum foo = Foo([]); foo.list ~= 4; } --- because `foo.list` is not modifiable (or not a Lvalue). The error must be detected in the front-end. -- |
November 22, 2019 [Issue 11903] Internal error: backend/cgcs.c 351 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11903 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Basile-z <b2.temp@gmx.com> --- 2.082.1 to 2.084.1: Status -4 and no output 2.085.1: Success and no output 2.086.1: Status -4 and no output Since 2.087.1: Failure with output: onlineapp.d(9): Error: cannot modify constant expression `Foo([]).list` -- |
March 21, 2020 [Issue 11903] Internal error: backend/cgcs.c 351 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11903 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|b2.temp@gmx.com | -- |
Copyright © 1999-2021 by the D Language Foundation