[Issue 11714] Improve error message for wrongly initialized thread-local class instances
https://issues.dlang.org/show_bug.cgi?id=11714 calexchanged: What|Removed |Added CC||calex+bugzilla-mail@aristow ||eb.net --
[Issue 17932] [scope] __traits(compiles, stmt) cannot test scope violations
https://issues.dlang.org/show_bug.cgi?id=17932 calexchanged: What|Removed |Added CC||calex+bugzilla-mail@aristow ||eb.net --
[Issue 17077] Unexpected optlink termination
https://issues.dlang.org/show_bug.cgi?id=17077 Walter Brightchanged: What|Removed |Added Hardware|x86_64 |x86 --
[Issue 10780] Optlink doesn't work on shared folder in VirtualBox
https://issues.dlang.org/show_bug.cgi?id=10780 Walter Brightchanged: What|Removed |Added Hardware|All |x86 OS|All |Windows --
[Issue 15183] Unexpected OPTLINK Termination at EIP=00425CF0
https://issues.dlang.org/show_bug.cgi?id=15183 Walter Brightchanged: What|Removed |Added Hardware|x86_64 |x86 --
[Issue 12054] PATH env. var longer than 1022 characters breaks OPTLINK search path
https://issues.dlang.org/show_bug.cgi?id=12054 Walter Brightchanged: What|Removed |Added Hardware|All |x86 OS|All |Windows --
[Issue 3327] OPTLINK and the librarian fail to see a symbol in a library
https://issues.dlang.org/show_bug.cgi?id=3327 Walter Brightchanged: What|Removed |Added Hardware|Other |x86 --
[Issue 5215] Crash with empty program
https://issues.dlang.org/show_bug.cgi?id=5215 Walter Brightchanged: What|Removed |Added Hardware|Other |x86 --
[Issue 4823] CodeView: Thread local variables are stored as shared globals
https://issues.dlang.org/show_bug.cgi?id=4823 Walter Brightchanged: What|Removed |Added Hardware|Other |x86 --
[Issue 16129] Linker error when using zero length array
https://issues.dlang.org/show_bug.cgi?id=16129 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Walter Bright --- *** This issue has been marked as a duplicate of issue 7997 *** --
[Issue 7997] Optlink issues 'Index Range' error with static zero length array
https://issues.dlang.org/show_bug.cgi?id=7997 Walter Brightchanged: What|Removed |Added CC||foolery...@gmail.com --- Comment #2 from Walter Bright --- *** Issue 16129 has been marked as a duplicate of this issue. *** --
[Issue 16855] Global void[0] causes OPTLINK Error when passed as ref Parameter
https://issues.dlang.org/show_bug.cgi?id=16855 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Walter Bright --- *** This issue has been marked as a duplicate of issue 16129 *** --
[Issue 16129] Linker error when using zero length array
https://issues.dlang.org/show_bug.cgi?id=16129 Walter Brightchanged: What|Removed |Added CC||qs.il.paperi...@gmail.com --- Comment #1 from Walter Bright --- *** Issue 16855 has been marked as a duplicate of this issue. *** --
[Issue 15213] Unexpected OPTLINK Termination at EIP = 0040347E
https://issues.dlang.org/show_bug.cgi?id=15213 Walter Brightchanged: What|Removed |Added Hardware|x86_64 |x86 --
[Issue 13172] optimize and rawread cause symbol undefined errors
https://issues.dlang.org/show_bug.cgi?id=13172 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution|--- |WORKSFORME --- Comment #17 from Walter Bright --- (In reply to joeyemmons from comment #16) > (In reply to briancschott from comment #15) > > I'm not able to reproduce this with 2.067.0-b2. > > Had the same bug and switching to 2.067.0-b2 also fixed it. > See http://forum.dlang.org/thread/vuyznzmdhuxsefeep...@forum.dlang.org I'll mark it as WORKSFORME then. --
[Issue 7997] Optlink issues 'Index Range' error with static zero length array
https://issues.dlang.org/show_bug.cgi?id=7997 Walter Brightchanged: What|Removed |Added Summary|Optlink crash with static |Optlink issues 'Index |zero length array |Range' error with static ||zero length array --
[Issue 6678] optlink crash with large array of structs
https://issues.dlang.org/show_bug.cgi?id=6678 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #3 from Walter Bright --- (In reply to bearophile_hugs from comment #0) > But this similar program: > [...] > Causes a crash of optlink at EIP=004114FC. Now causes: test.d(4): Error: variable test.array size of 0x3567e00 exceeds max allowed size 0x100 --
[Issue 6397] D1: Empty const string causes bad obj
https://issues.dlang.org/show_bug.cgi?id=6397 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution|--- |WORKSFORME --- Comment #1 from Walter Bright --- Works with HEAD. --
[Issue 5950] [AA] Linker problem with AA.get()
https://issues.dlang.org/show_bug.cgi?id=5950 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution|--- |WORKSFORME --- Comment #3 from Walter Bright --- It is working with HEAD now. --
[Issue 5215] Crash with empty program
https://issues.dlang.org/show_bug.cgi?id=5215 Walter Brightchanged: What|Removed |Added Keywords||Optlink --
[Issue 4823] CodeView: Thread local variables are stored as shared globals
https://issues.dlang.org/show_bug.cgi?id=4823 Walter Brightchanged: What|Removed |Added Keywords||Optlink CC||bugzi...@digitalmars.com --
[Issue 4541] Intrinsic functions do not have pointers
https://issues.dlang.org/show_bug.cgi?id=4541 Walter Brightchanged: What|Removed |Added Status|REOPENED|RESOLVED CC||bugzi...@digitalmars.com Resolution|--- |WORKSFORME --- Comment #10 from Walter Bright --- It works fine when I try it with the latest. --
[Issue 4315] Invalid object file created when appending const char[0] to char[]
https://issues.dlang.org/show_bug.cgi?id=4315 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution|--- |WORKSFORME --- Comment #3 from Walter Bright --- Can't reproduce a problem with the latest. --
[Issue 4176] Link error in switch with 4 or more cases and no default
https://issues.dlang.org/show_bug.cgi?id=4176 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Walter Bright --- What's happening is __d_switch_error is in phobos.lib. Phobos.lib is not automatically linked in unless there's a "main" definition in the file. Hence __d_switch_error is undefined. __d_switch_error is what is called when there isn't a default. In any case, now this error message is emitted: test.d(2): Error: switch statement without a default; use final switch or add default: assert(0); or add default: break; --
[Issue 4010] dmd should support linkers other than OPTLINK
https://issues.dlang.org/show_bug.cgi?id=4010 Walter Brightchanged: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #11 from Walter Bright --- dmd will now support MS-COFF output with the -m32mscoff compiler switch. --
[Issue 3094] incorrect previous definition error
https://issues.dlang.org/show_bug.cgi?id=3094 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution|--- |INVALID --
[Issue 2249] DMD can't handle include paths with spaces in them
https://issues.dlang.org/show_bug.cgi?id=2249 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Walter Bright --- It's working with the latest dmd. --
[Issue 1404] Link failure with template mixin and function literal
https://issues.dlang.org/show_bug.cgi?id=1404 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution|--- |WORKSFORME --- Comment #4 from Walter Bright --- It works when I try it with the latest. --
[Issue 1327] Long environment variable value causes link failure.
https://issues.dlang.org/show_bug.cgi?id=1327 Walter Brightchanged: What|Removed |Added Keywords||Optlink CC||bugzi...@digitalmars.com --
[Issue 17935] New: [scope] auto-generated destructor not scope aware
https://issues.dlang.org/show_bug.cgi?id=17935 Issue ID: 17935 Summary: [scope] auto-generated destructor not scope aware Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: safe Severity: normal Priority: P4 Component: dmd Assignee: bugzi...@digitalmars.com Reporter: c...@dawg.eu cat > bug.d << CODE struct ByChunk(IO) { @safe: ~this() scope {} ubyte[] buf; IO io; } struct IO { ~this() @safe scope {} } /// @safe @nogc unittest { ubyte[256] buf; auto chunks = ByChunk!IO(buf[], IO()); chunks.__xdtor(); // auto-generated inclusive (fields and struct) dtor } CODE dmd -c -dip1000 bug.d bug.d(21): Error: scope variable `chunks` assigned to non-scope parameter `this` calling bug.ByChunk!(IO).ByChunk.~this bug.d(22): Error: scope variable `chunks` assigned to non-scope parameter `this` calling bug.ByChunk!(IO).ByChunk.~this Guess we should at best always attempt to infer scope for any generate method. --
[Issue 17934] [scope] scopeness entrypoint for unique/ref-counted missing
https://issues.dlang.org/show_bug.cgi?id=17934 --- Comment #1 from Martin Nowak--- Even if `l` is not inferred as scope, it should be a local with limited lifetime. The return value `l.front` should have that same lifetime b/c of `return scope`. Both of them should be shorter as `elem`, hence assignment should fail. --
[Issue 17934] New: [scope] scopeness entrypoint for unique/ref-counted missing
https://issues.dlang.org/show_bug.cgi?id=17934 Issue ID: 17934 Summary: [scope] scopeness entrypoint for unique/ref-counted missing Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: safe Severity: normal Priority: P3 Component: dmd Assignee: bugzi...@digitalmars.com Reporter: c...@dawg.eu cat > bug.d << CODE import core.stdc.stdlib; struct List { Elem front() @safe return scope { return Elem(data); } ~this() @trusted scope { free(data); data = null; } @disable this(this); private: void* data; } struct Elem { private: void* data; } /** There seems to be now way to write this functions so that the compiler infers the return value as scope. */ List list() @trusted { return List(malloc(1)); } void test() @safe { Elem elem; { //scope l = list(); // works with explicit scope auto l = list(); // not inferred as scope elem = l.front; // escapes, b/c l isn't scoped } } CODE dmd -c -dip1000 bug.d Repeatedly ending up with this problem. It doesn't seem possible to contain allocated data, as there is now way to enforce that the call-site uses a scope variable. --
[Issue 15324] symbol is already defined / size of symbol changed
https://issues.dlang.org/show_bug.cgi?id=15324 Walter Brightchanged: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=17332 --
[Issue 17332] optilink or dmd bug
https://issues.dlang.org/show_bug.cgi?id=17332 Walter Brightchanged: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=15324 --
[Issue 17332] optilink or dmd bug
https://issues.dlang.org/show_bug.cgi?id=17332 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution|--- |DUPLICATE --- Comment #2 from Walter Bright --- *** This issue has been marked as a duplicate of issue 16687 *** --
[Issue 16687] Win COFF: Duplicate COMDAT on overloaded templated function
https://issues.dlang.org/show_bug.cgi?id=16687 Walter Brightchanged: What|Removed |Added CC||phreon...@gmail.com --- Comment #2 from Walter Bright --- *** Issue 17332 has been marked as a duplicate of this issue. *** --
[Issue 17914] Accidental per-process limit of fiber uses
https://issues.dlang.org/show_bug.cgi?id=17914 --- Comment #1 from briancsch...@gmail.com --- Minimal test case: void main() { import std.concurrency : Generator, yield; import std.stdio : File, writeln; auto f = File("/proc/sys/vm/max_map_count", "r"); ulong n; f.readf("%d", ); writeln("/proc/sys/vm/max_map_count = ", n); foreach (i; 0 .. n + 1000) { if (i % 1000 == 0) writeln("i = ", i); new Generator!int({ yield(1); }); } } --
[Issue 16687] Win COFF: Duplicate COMDAT on overloaded templated function
https://issues.dlang.org/show_bug.cgi?id=16687 Walter Brightchanged: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #1 from Walter Bright --- Optlink doesn't complain because when there are multiple COMDATs with the same name, the linker just picks one. --
[Issue 16660] Deprecate/Remove Optlink as Default Linker on Windows
https://issues.dlang.org/show_bug.cgi?id=16660 Walter Brightchanged: What|Removed |Added Severity|major |enhancement --
[Issue 16334] dmd producing invalid OMF file
https://issues.dlang.org/show_bug.cgi?id=16334 Walter Brightchanged: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #2 from Walter Bright --- This is dmd generating a corrupt object file (not an Optlink problem). --
[Issue 11869] Optlink doesn't detects strings duplicate
https://issues.dlang.org/show_bug.cgi?id=11869 Walter Brightchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Walter Bright --- String literals go into COMDATs now, so this is no longer an issue. --
[Issue 17881] Provide mechanism to preallocate memory from the GC
https://issues.dlang.org/show_bug.cgi?id=17881 --- Comment #10 from Andrei Alexandrescu--- (In reply to Steven Schveighoffer from comment #8) > What I am looking for, > though, is the high-level API of "I have 20 million T's I want to allocate, > give me them properly allocated and typed one at a time". This issue should be closed. A good allocator should be able to handle repeated allocations of the same size without this kind of hint. --
[Issue 17901] FreeBSD 10.3: AssertError@std/experimental/allocator/building_blocks/region.d(652)
https://issues.dlang.org/show_bug.cgi?id=17901 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 17901] FreeBSD 10.3: AssertError@std/experimental/allocator/building_blocks/region.d(652)
https://issues.dlang.org/show_bug.cgi?id=17901 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/71ed13678d682c0cc446067703cb0e464e7ff2ac Fix issue 17901 - FreeBSD SbrkRegion alignment https://github.com/dlang/phobos/commit/5a700c09d809a30ac885de884cd3e1335cf17967 Merge pull request #5806 from edi33416/fix_sbrk_region_freebsd Fix issue 17901 - FreeBSD SbrkRegion alignment merged-on-behalf-of: Andrei Alexandrescu--
[Issue 17933] New: Warn in case of implicit truncating float conversion
https://issues.dlang.org/show_bug.cgi?id=17933 Issue ID: 17933 Summary: Warn in case of implicit truncating float conversion Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: b2.t...@gmx.com Implicit float conversions (e.g from real to float) may lead to a precision loss. --
[Issue 6895] std.traits.isCovariantWith doesn't work for function, function pointer and delegate
https://issues.dlang.org/show_bug.cgi?id=6895 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/1d26b5fef7ff33b51f0d26898f555727278b351b Fix issue 6895 std.traits.isCovariantWith doesn't work for function, function pointer and delegate https://github.com/dlang/phobos/commit/3f34eefe9a15504598f91e690b0e722981c0a83f Merge pull request #5800 from Darredevil/issue-6895-covariance Fix issue 6895 std.traits.isCovariantWith doesn't work for function, … merged-on-behalf-of: Andrei Alexandrescu--
[Issue 6895] std.traits.isCovariantWith doesn't work for function, function pointer and delegate
https://issues.dlang.org/show_bug.cgi?id=6895 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 9362] Add a method to remove one item to std.container.SList
https://issues.dlang.org/show_bug.cgi?id=9362 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/aee56671f8226cb910017d0f5c49186771d06d1d Fix issue 9362 - Add linearRemoveElement from Slist https://github.com/dlang/phobos/commit/e5a146bca3b462b32c1613e1a1f6d6777942e3a1 Merge pull request #5784 from Darredevil/issue-9362-slist-remove Fix Issue 9362 - Add a method to remove one item to std.container.SList --
[Issue 9362] Add a method to remove one item to std.container.SList
https://issues.dlang.org/show_bug.cgi?id=9362 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 6895] std.traits.isCovariantWith doesn't work for function, function pointer and delegate
https://issues.dlang.org/show_bug.cgi?id=6895 --- Comment #1 from Alexandru Razvan Caciulescu--- https://github.com/dlang/phobos/pull/5800 --
[Issue 6895] std.traits.isCovariantWith doesn't work for function, function pointer and delegate
https://issues.dlang.org/show_bug.cgi?id=6895 Alexandru Razvan Caciulescuchanged: What|Removed |Added CC||alexandru.razva...@gmail.co ||m Assignee|nob...@puremagic.com|alexandru.razva...@gmail.co ||m --
[Issue 17918] Segmentation fault dmd failed with exit code 139.
https://issues.dlang.org/show_bug.cgi?id=17918 --- Comment #4 from Roman--- I meant building. It's just for dub running and building are done with one command. I marked it as a regression because it's quite old code and I did not have problems with it before. I made this test in travis to check what compiler version introduced the regression: https://travis-ci.org/FreeSlave/travis-dmd-segfault-test Note that I change desktopfile/dub.json so it depends on strict inilike version to avoid dub downloading the newer versions where I bypassed the bug. --
[Issue 17878] Add __traits(isFuture, ...)
https://issues.dlang.org/show_bug.cgi?id=17878 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/03b13c79cb98088c60faa2457db0d8f85a0bc6dc Fix Issue 17878 - Add __traits(isFuture, ...) https://github.com/dlang/dmd/commit/51bc2fb427a5e0b3701b11ab2b6a5f356d8eca5d Merge pull request #7232 from RazvanN7/Issue_17878 Fix Issue 17878 - Add __traits(isFuture, ...) --
[Issue 17924] allow to omit middle operator in ternary condition (a.k.a. add ?: Elvis operator)
https://issues.dlang.org/show_bug.cgi?id=17924 RazvanNchanged: What|Removed |Added CC||razvan.nitu1...@gmail.com Assignee|nob...@puremagic.com|razvan.nitu1...@gmail.com --
[Issue 17918] Segmentation fault dmd failed with exit code 139.
https://issues.dlang.org/show_bug.cgi?id=17918 --- Comment #3 from Walter Bright--- Also, why is this marked as a regression? What dmd did it work with before? --
[Issue 17918] Segmentation fault dmd failed with exit code 139.
https://issues.dlang.org/show_bug.cgi?id=17918 Walter Brightchanged: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #2 from Walter Bright --- > Getting segfault when running unittests But the topic of this issue is dmd itself seg faulting. Please clarify. --
[Issue 17246] [REG2.053] Extra destructor call.
https://issues.dlang.org/show_bug.cgi?id=17246 Walter Brightchanged: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #2 from Walter Bright --- https://github.com/dlang/dmd/pull/7238 --