[Issue 17448] New: Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 Tomer Filiba (weka) changed: What|Removed |Added Keywords||industry --

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 --- Comment #2 from Tomer Filiba (weka) --- alternatively a move-operator is required --

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 uplink.co...@googlemail.com changed: What|Removed |Added CC||uplink.co...@googlemail.com ---

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 Tomer Filiba (weka) changed: What|Removed |Added CC||to...@weka.io --

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 Eyal changed: What|Removed |Added CC||e...@weka.io --- Comment #4 from Eyal --- @uplink: W

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 Shachar Shemesh changed: What|Removed |Added CC||shac...@weka.io --- Comment #5 from Shacha

[Issue 17277] Member and aggregate alignment semantics

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17449] New: [DIP1000] crash due to covariant conversion of scope delegate to delegate

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17449] [DIP1000] crash due to covariant conversion of scope delegate to delegate

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17449 Rainer Schuetze changed: What|Removed |Added Hardware|x86_64 |All OS|Windows

[Issue 17445] Disagreement between 'static assert' and 'static if'

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17445] Disagreement between 'static assert' and 'static if'

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
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. --

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 Walter Bright changed: What|Removed |Added Keywords||safe CC|

[Issue 17450] New: escaping delegate context pointer not detected for member functions

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17450] escaping delegate context pointer not detected for member functions

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17450 Walter Bright changed: What|Removed |Added Keywords||safe --

[Issue 17450] escaping delegate context pointer not detected for member functions

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17450 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 17448] Move semantics cause memory corruption and cryptic bugs

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17448 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 17450] escaping delegate context pointer not detected for member functions

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17450 --- Comment #1 from Walter Bright --- https://github.com/dlang/dmd/pull/6839 --

[Issue 17442] regex purity issues

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17442 uplink.co...@googlemail.com changed: What|Removed |Added CC||uplink.co...@googlemail.com ---

[Issue 17442] regex purity issues

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17442 --- Comment #2 from Brad Roberts --- That's a tiny tip of a much larger iceberg. --

[Issue 17409] [ICE] Segmentation fault with invalid code and -dip1000

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17409 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 17423] @safe code seg faults

2017-05-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17423 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #3 from

[Issue 17423] @safe code seg faults

2017-05-28 Thread via Digitalmars-d-bugs
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

[Issue 17451] New: ICE in ddmd/declaration.d(2179)

2017-05-28 Thread via Digitalmars-d-bugs
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