https://issues.dlang.org/show_bug.cgi?id=17448
Issue ID: 17448
Summary: Move semantics cause memory corruption and cryptic
bugs
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=17448
Tomer Filiba (weka) changed:
What|Removed |Added
Keywords||industry
--
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #1 from Tomer Filiba (weka) ---
I understand changing this might break backwards compatibility, but something
like a `pragma(dontmove);` in the struct is a must... that way it won't have
compiled, and we would pass it by ref instead of re
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #2 from Tomer Filiba (weka) ---
alternatively a move-operator is required
--
https://issues.dlang.org/show_bug.cgi?id=17448
uplink.co...@googlemail.com changed:
What|Removed |Added
CC||uplink.co...@googlemail.com
---
https://issues.dlang.org/show_bug.cgi?id=17448
Tomer Filiba (weka) changed:
What|Removed |Added
CC||to...@weka.io
--
https://issues.dlang.org/show_bug.cgi?id=17448
Eyal changed:
What|Removed |Added
CC||e...@weka.io
--- Comment #4 from Eyal ---
@uplink: W
https://issues.dlang.org/show_bug.cgi?id=17448
Shachar Shemesh changed:
What|Removed |Added
CC||shac...@weka.io
--- Comment #5 from Shacha
https://issues.dlang.org/show_bug.cgi?id=17277
--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/9180e57bdd4a6330217be5fcefc30f965b0d365b
Fix alignment/size of packed aggregates (issue #17277)
Change
https://issues.dlang.org/show_bug.cgi?id=17449
Issue ID: 17449
Summary: [DIP1000] crash due to covariant conversion of scope
delegate to delegate
Product: D
Version: D2
Hardware: x86_64
OS: Windows
https://issues.dlang.org/show_bug.cgi?id=17449
Rainer Schuetze changed:
What|Removed |Added
Hardware|x86_64 |All
OS|Windows
https://issues.dlang.org/show_bug.cgi?id=17445
--- Comment #4 from Dario Schiavon ---
Stanislav, thanks for the tip. I knew about isAssignable but I had somehow
missed isCopyable, which is exactly what I needed.
However, I still cannot make my code work because of the bug shown here.
isAssignabl
https://issues.dlang.org/show_bug.cgi?id=17445
--- Comment #5 from Dario Schiavon ---
I guess I can speculate about the reason for this behavior. What I'm doing, is
making a copiability test on a type that hasn't been completely defined yet. As
long as there's no static-if depending on the answer
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #6 from b2.t...@gmx.com ---
It looks like a bad codegen and not a @safe issue. `ulong[20] tmp;` is not
corrupted if i compile and run your example with LDC2.
--
https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #7 from Tomer Filiba (weka) ---
it is obviously not a codegen issue, since i have a dangling pointer at hand.
it's just a matter of how the much stack the compiler requires. in LDC i
reproduce this by enlarging the tmp to 30 elements:
du
https://issues.dlang.org/show_bug.cgi?id=17448
Walter Bright changed:
What|Removed |Added
Keywords||safe
CC|
https://issues.dlang.org/show_bug.cgi?id=17450
Issue ID: 17450
Summary: escaping delegate context pointer not detected for
member functions
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=17450
Walter Bright changed:
What|Removed |Added
Keywords||safe
--
https://issues.dlang.org/show_bug.cgi?id=17450
Walter Bright changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=17448
Walter Bright changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
https://issues.dlang.org/show_bug.cgi?id=17450
--- Comment #1 from Walter Bright ---
https://github.com/dlang/dmd/pull/6839
--
https://issues.dlang.org/show_bug.cgi?id=17442
uplink.co...@googlemail.com changed:
What|Removed |Added
CC||uplink.co...@googlemail.com
---
https://issues.dlang.org/show_bug.cgi?id=17442
--- Comment #2 from Brad Roberts ---
That's a tiny tip of a much larger iceberg.
--
https://issues.dlang.org/show_bug.cgi?id=17409
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=17423
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #3 from
https://issues.dlang.org/show_bug.cgi?id=17423
--- Comment #4 from Eyal ---
dmd --version && dmd -unittest -main -run test17423.d
DMD64 D Compiler v2.074.0
Copyright (c) 1999-2017 by Digital Mars written by Walter Bright
/tmp/dmd_rundz8iAQ(_D4core7runtime18runModuleUnitTestsUZ19unittestSegvHandle
https://issues.dlang.org/show_bug.cgi?id=17451
Issue ID: 17451
Summary: ICE in ddmd/declaration.d(2179)
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
27 matches
Mail list logo