[Issue 20788] New: Difference between colored and non colored output
https://issues.dlang.org/show_bug.cgi?id=20788 Issue ID: 20788 Summary: Difference between colored and non colored output Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: an...@s-e-a-p.de The dmd output text is different depending whether color output is on or off. Sample: void main() { int i; e = 3; } Color on: sample.d(4): Error: undefined identifier e Color off: sample.d(4): Error: undefined identifier `e` This is an issue if you want to use the dmd output for dustmite. Color is on by default and very often I forgot, that I cannot just use the output of dub (dmd) but have to disable colored output. The dmd output text should be the same, independent whether color is on or off. --
[Issue 5409] Disallow (!x & y)
https://issues.dlang.org/show_bug.cgi?id=5409 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #10 from Dlang Bot --- @wolframw created dlang/dmd pull request #11077 "Fix Issue 5409 - Disallow (!x & y)" fixing this issue: - Fix Issue 5409 - Disallow (!x & y) https://github.com/dlang/dmd/pull/11077 --
[Issue 6401] infinite loop with -inline in gflow.c:accumaecpx
https://issues.dlang.org/show_bug.cgi?id=6401 safety0ff.bugz changed: What|Removed |Added CC||safety0ff.b...@gmail.com --- Comment #8 from safety0ff.bugz --- Once the patch for bug 19550 is applied, this bug should be a duplicate of bug #7157. The common issue with #7157 is that `aewalk` use an O(N) search for available expressions to reduce expressions. This subsequently leads to a blow of `el_match` calls. It should be possible to fix this by changing the O(N) search to a sorted search or hashing scheme. --
[Issue 7157] Optimiser is O(n^2) w.r.t. function length
https://issues.dlang.org/show_bug.cgi?id=7157 safety0ff.bugz changed: What|Removed |Added See Also|https://issues.dlang.org/sh | |ow_bug.cgi?id=19550 | --
[Issue 19550] [REG 2.078] Massive compiler backend slowdown
https://issues.dlang.org/show_bug.cgi?id=19550 safety0ff.bugz changed: What|Removed |Added See Also|https://issues.dlang.org/sh | |ow_bug.cgi?id=6401, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=7157 | --
[Issue 6401] infinite loop with -inline in gflow.c:accumaecpx
https://issues.dlang.org/show_bug.cgi?id=6401 safety0ff.bugz changed: What|Removed |Added See Also|https://issues.dlang.org/sh | |ow_bug.cgi?id=19550 | --
[Issue 19550] [REG 2.078] Massive compiler backend slowdown
https://issues.dlang.org/show_bug.cgi?id=19550 --- Comment #7 from safety0ff.bugz --- Created attachment 1781 --> https://issues.dlang.org/attachment.cgi?id=1781=edit preliminary patch Attached a preliminary patch. It doesn't help the other related bugzilla issues, but takes the test case from this issue from 1m5.368s -> 0m0.603s. --
[Issue 19550] [REG 2.078] Massive compiler backend slowdown
https://issues.dlang.org/show_bug.cgi?id=19550 --- Comment #6 from safety0ff.bugz --- Ok I believe to have found the culprit: There is a special case for OPcomma here, which traverses the entire list of elems: https://github.com/dlang/dmd/blob/793635ea7ad3cf30c02bf1b5d51eefdc166c8b82/src/dmd/backend/gflow.d#L624 But `accumaecpx`already recurses over the list of elems: https://github.com/dlang/dmd/blob/793635ea7ad3cf30c02bf1b5d51eefdc166c8b82/src/dmd/backend/gflow.d#L1102 at `accumaecpx(n.EV.E2);` --
[Issue 20783] std.string.lastIndexOf doesn't work correctly in CTFE
https://issues.dlang.org/show_bug.cgi?id=20783 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/phobos pull request #7465 "Fix Issue 20783 - std.string.lastIndexOf doesn't work correctly in CTFE" was merged into master: - c57990ceda8e0108554abde9eed0fc04e4041529 by wolframw: Fix Issue 20783 - std.string.lastIndexOf doesn't work correctly in CTFE https://github.com/dlang/phobos/pull/7465 --
[Issue 20787] Add module core.sys.darwin.sys.attr with getattrlist, setattrlist, searchfs, and related definitions
https://issues.dlang.org/show_bug.cgi?id=20787 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @n8sh updated dlang/druntime pull request #3076 "Add module core.sys.darwin.sys.attr with getattrlist, setattrlist, searchfs, and related definitions" fixing this issue: - Fix Issue 20787 - Add module core.sys.darwin.sys.attr with getattrlist, setattrlist, searchfs, and related definitions https://github.com/dlang/druntime/pull/3076 --