[Issue 22573] DMD compiler errors on Illumos/Solaris

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22573 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 22573] DMD compiler errors on Illumos/Solaris

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22573 Brian Callahan changed: What|Removed |Added CC||bcal...@openbsd.org --- Comment #5 from

[Issue 22573] DMD compiler errors on Illumos/Solaris

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22573 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #4 from Dlang Bot --- @ibara

[Issue 18870] Link failure only with -allinst for code in isExpression

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18870 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 18176] std.numeric.gapWeightedSimilarity should be usable in @safe

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18176 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 18494] nogc ignores invariant

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18494 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com See

[Issue 4995] invariant() can violate a function's nothrow

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4995 Stanislav Blinov changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 18216] struct no size because of forward reference

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18216 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 22579] betterC errors are issued by the glue layer and hence skipped without codegen

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 --- Comment #6 from moonlightsenti...@disroot.org --- Reduced example: --- issue22579.d // Use auto instead of int[] to force semantic on the function body auto foo(int i) { return [i]; } int[] bar()(int i) { return [i]; } --- main.d

[Issue 17957] D shared library throws asserts when called from C detached pthread but not terminated with dlclose

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17957 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 22579] betterC errors are issued by the glue layer and hence skipped without codegen

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 --- Comment #5 from moonlightsenti...@disroot.org --- (In reply to Andrei Alexandrescu from comment #0) > A top-level unittest that is not marked with @betterC in Phobos causes no > trouble in betterC mode. However, inside a template that's not the

[Issue 22579] betterC errors are issued by the glue layer and hence skipped without codegen

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 --- Comment #4 from moonlightsenti...@disroot.org --- (In reply to Paul Backus from comment #1) > Here's a full example that reproduces the error: That reduction is inaccurate because it actually compiles both modules. It doesn't matter whether the

[Issue 22579] betterC errors are issued by the glue layer and hence skipped without codegen

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 --- Comment #3 from moonlightsenti...@disroot.org --- Nothing specific to unittests in this example. The underlying issue is that -betterC checks are currently issued by the glue layer and hence skipped for declarations that are not codegened

[Issue 22579] betterC errors are issued by the glue layer and hence skipped without codegen

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 moonlightsenti...@disroot.org changed: What|Removed |Added CC||moonlightsentinel@disroot.o

[Issue 21477] TypeInfo errors in betterC are cryptic

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21477 moonlightsenti...@disroot.org changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 13054] pure nothrow @safe std.algorithm.schwartzSort

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13054 --- Comment #4 from Stanislav Blinov --- Another partial fix: https://github.com/dlang/phobos/pull/8329 If GC.add/removeRange could be fake pure, then this enhancement would be fulfilled. --

[Issue 22136] [REG 2.097.1] hashOf failed to compile because of different inheritance order

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22136 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #3 from Dlang Bot ---

[Issue 17821] atomicStore compile error when target is larger than source

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17821 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 17473] foreach on delegates incorrectly rejected

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17473 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 16551] Compile-time delegate parameters should allow "scope"

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16551 Stanislav Blinov changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 13054] pure nothrow @safe std.algorithm.schwartzSort

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13054 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 22563] Nested structs, if not escaping, shouldn't allocate context (just like delegates)

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22563 Stanislav Blinov changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 15232] Escape analysis should be more sophisticated

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15232 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com See

[Issue 15219] Allow Throwable.msg to be calculated lazily

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15219 Stanislav Blinov changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 22579] Unittests defined in a template are instantiated indiscriminately in betterC mode AND cause inscrutable errors

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 --- Comment #2 from Andrei Alexandrescu --- Thanks, Paul. Raising this to blocker status because versioning won't scale without it being fixed, see https://github.com/dlang/phobos/pull/8309/commits/207e77af7d6aa5c384cb9a91db9e843dc2069769. This

[Issue 22579] Unittests defined in a template are instantiated indiscriminately in betterC mode AND cause inscrutable errors

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 Andrei Alexandrescu changed: What|Removed |Added Hardware|x86 |All OS|Windows

[Issue 12805] @nogc std.range.iota(FP)

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12805 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 14771] Hidden @nogc violation around closure creation

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14771 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 22136] [REG 2.097.1] hashOf failed to compile because of different inheritance order

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22136 --- Comment #2 from Eduard Staniloiu --- I did some digging on this, and the bug actually stems from the following issue ``` interface IObject { size_t toHash() @trusted nothrow; } interface Dummy {} interface Bug(E) : Dummy, IObject {}

[Issue 14807] unnecessary closure allocation for function literal in compile time test

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14807 Stanislav Blinov changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 22136] [REG 2.097.1] hashOf failed to compile because of different inheritance order

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22136 Eduard Staniloiu changed: What|Removed |Added CC||edi33...@gmail.com

[Issue 13531] Destructor attributes don't take member destructor attributes into account

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13531 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 13293] `typeof()` gets printed as `T()`

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13293 --- Comment #3 from hst...@quickfur.ath.cx --- I'd expect something like `Result function()` or something along those lines, rather than `Result()` which looks like a ctor invocation. --

[Issue 12751] Avoid heap allocations in some cases of array concatenation

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12751 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 13293] `typeof()` gets printed as `T()`

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13293 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 13458] std.utf.decode not @nogc

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13458 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 13721] typeof() for function return type produces peculiar error in std.datetime

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13721 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 13719] std.datetime no longer compiles when trivial destructor is added

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13719 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 13688] 'in' expression for AA not detected as GC usage

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13688 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com See

[Issue 19422] Associative arrays break inference of @safe, nothrow, pure

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19422 Stanislav Blinov changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 4995] invariant() can violate a function's nothrow

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4995 Stanislav Blinov changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 13118] Allow non-`@nogc` stuff in `@nogc` function contracts

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13118 Stanislav Blinov changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 12808] Small amount of escape analysis to allow more @nogc functions

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12808 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 13119] `struct` constructor attributes inferred like field destructor is called on initialization

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13119 Stanislav Blinov changed: What|Removed |Added CC||stanislav.bli...@gmail.com --- Comment

[Issue 22579] Unittests defined in a template are instantiated indiscriminately in betterC mode AND cause inscrutable errors

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 Paul Backus changed: What|Removed |Added CC||snarwin+bugzi...@gmail.com --- Comment #1

[Issue 22579] New: Unittests defined in a template are instantiated indiscriminately in betterC mode AND cause inscrutable errors

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22579 Issue ID: 22579 Summary: Unittests defined in a template are instantiated indiscriminately in betterC mode AND cause inscrutable errors Product: D Version: D2

[Issue 22573] DMD compiler errors on Illumos/Solaris

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22573 --- Comment #3 from jkr...@telecolumbus.net --- (In reply to Iain Buclaw from comment #2) > (In reply to Iain Buclaw from comment #1) > > The dmd backend has only ever been ported to Solaris i[3456]86, IIRC. So > > it's likely that config is not

[Issue 20715] `Error: TypeInfo cannot be used with -betterC` for array of struct = void with copy constructor disabled

2021-12-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20715 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|