[Issue 12153] Ternary operator on static array lvalues creates copy

2015-02-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12153 --- Comment #9 from github-bugzi...@puremagic.com --- Commits pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bdb30977e7084d1c496c7b386203af8dd33eea0d Move fix Issue 12153 to

[Issue 12153] Ternary operator on static array lvalues creates copy

2015-02-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12153 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bdb30977e7084d1c496c7b386203af8dd33eea0d Move fix Issue 12153 to frontend

[Issue 12153] Ternary operator on static array lvalues creates copy

2015-02-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12153 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bdb30977e7084d1c496c7b386203af8dd33eea0d Move fix Issue 12153 to

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-23 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 --- Comment #3 from yebblies yebbl...@gmail.com 2014-02-19 21:07:20 EST --- (In reply to comment #2) (In reply to comment #1) Sigh, the backend sees int[1] i = 0; int[1] j = 0; bool b = true; (b ? i : j)[] = [4]; assert(i ==

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 --- Comment #4 from Kenji Hara k.hara...@gmail.com 2014-02-19 02:31:26 PST --- (In reply to comment #3) Sure it is. If instead of converting `a = b` (where lhs is a static array) into `a[] = b[]` the compiler left the lhs intact as a

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-19 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 --- Comment #5 from yebblies yebbl...@gmail.com 2014-02-19 21:38:16 EST --- (In reply to comment #4) (In reply to comment #3) Sure it is. If instead of converting `a = b` (where lhs is a static array) into `a[] = b[]` the compiler left

[Issue 12153] Ternary operator on static array lvalues creates copy

2014-02-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12153 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com ---