[Issue 22367] The __ModuleInfo member spuriously linked for modules compiler with -betterC

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22367 --- Comment #6 from Mathias LANG --- Shouldn't that be only for `shared static this` ? --

[Issue 21160] DWARF: DW_AT_main_subprogram should be emitted for _Dmain

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

[Issue 3] Finish or remove MatchExp::toElem

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3 --- Comment #2 from Dlang Bot --- dlang/dmd pull request #13208 "Fix 3 space indentation" was merged into master: - 76444e5706e1ca60165557f727ba9029a2ae7952 by dkorpel: Fix 3 space indentation https://github.com/dlang/dmd/pull/13208 --

[Issue 22420] [REG2.098] Apparent CTFE regression wrt. alias this

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22420 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 7d417865980698a555b129db54a4cd29b55ceb98 by Boris Carvajal: Fix Issue 22420 - [REG2.098] Apparent CTFE regression wrt. alias this

[Issue 22411] importC: Error: cannot implicitly convert expression of type 'const(char*)' to 'char*'

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22411 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - ba950023e142b580ac2cd844e83a0bcb8fc73204 by Iain Buclaw: fix Issue 22411 - importC: Error: cannot implicitly convert expression of

[Issue 22405] importC: Error: cannot modify 'const' expression '(*s).field'

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22405 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 1c0659eae3249ac082a2adb69b982a9e689a2229 by Iain Buclaw: fix Issue 22405 - importC: Error: cannot modify 'const' expression '(*s).

[Issue 21794] Internal compiler assertion

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21794 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 712632c647c86bcfb5f68f505905874893c4b23f by Boris Carvajal: Fix Issue 21794 - ICE: Type painted NullExp hits assertion in dinterpr

[Issue 22409] importC: [ICE] Error: struct no size because of forward reference

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22409 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - a326b7880539a37e96b1796cd1364cbea225e9d8 by Iain Buclaw: fix Issue 22409 - importC: [ICE] Error: struct no size because of forward

[Issue 22403] importC: Error: cannot pass argument '0' of type 'int' to parameter 'const(char)*'

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22403 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 501d47b9aeaf427ce17d52905e5e5742ae3cde31 by Iain Buclaw: fix Issue 22403 - importC: Error: cannot pass argument '0' of type 'int'

[Issue 22406] importC: Error: 'switch' statement without a 'default'; use 'final switch' or add 'default: assert(0);' or add 'default: break;'

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22406 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - f60ea8d142081919cab615aa49ee11c6919c2a6f by Iain Buclaw: fix Issue 22406 - importC: Error: 'switch' statement without a 'default';

[Issue 22399] importC: Error: static variable cannot be read at compile time

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22399 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 58e4db98807ba9834f79ca4585afb103e7da0b38 by Iain Buclaw: fix Issue 22399 - importC: Error: static variable cannot be read at compi

[Issue 22389] noreturn functions are allowed to return normally

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22389 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - ae8b0e008805bf575eefdacf4faef7114532b3fb by Florian: Fix 22389 - Check that noreturn functions don't return normally (#13173) S

[Issue 22402] importC: Error: can't subtract '__tag2[1]' from pointer

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22402 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - e213c70f38b9a6765aee9c9adeee1145db09c112 by Iain Buclaw: fix Issue 22402 - importC: Error: can't subtract '__tag2[1]' from pointer

[Issue 22407] importC: Error: cannot implicitly convert expression of type 'extern (C) int(int a)' to 'const(extern (C) int function(int))'

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22407 --- Comment #5 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 163b5f92048249b6646a69b4c6a68ed641bbe8e9 by Iain Buclaw: fix Issue 22407 - importC: Error: cannot implicitly convert expression of

[Issue 22151] Compiler crash when attempting to assign to function

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22151 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 3dfa83b4a0375277c3052788d56c431f631492d9 by Boris Carvajal: Fix Issue 22151 - Compiler crash when attempting to assign to function

[Issue 21438] Compiler segfault on static array in a struct at CTFE

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21438 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - b99421c6e05a465d39056504a4c5102bdc379bf5 by Boris Carvajal: Fix Issue 21438 - Compiler segfault on static array in a struct at CTF

[Issue 22413] importC: Error: array index 0 is out of bounds

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22413 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - c38ffbaacde6863991a9e68d3d4248c928fc97e1 by Iain Buclaw: fix Issue 22413 - importC: Error: array index 0 is out of bounds https:/

[Issue 22388] Wrong overload selected for @safe delegate

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22388 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 59288c7a3cdd661113c3b1d63b22fce66e1b50ae by MoonlightSentinel: Fix 22388 - Don't discard function safety when matching lambdas

[Issue 22410] [REG2.094] function with tuple parameter with default argument fails if there's a qualifier

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22410 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - b43df169fbf5374686e48d9aa9521d1d6b7603eb by Boris Carvajal: Fix Issue 22410 - [REG2.094] function with tuple parameter with defaul

[Issue 22300] [REG 2.098-rc.2] `-checkaction=context` of a `shared` type with an `opCast` fails to compile

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22300 --- Comment #5 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 7f9ce4504af4cf08569493c1756a70b3f2faaaf9 by MoonlightSentinel: Issue 22300 - Allow shared <-> unshared reinterpreting casts during

[Issue 22400] importC: Error: unknown, when compiling source with typedef'd initializer

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22400 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 9642b547c398fd256544e926d02b5fd54c08622d by Iain Buclaw: fix Issue 22400 - importC: Error: unknown, when compiling source with typ

[Issue 22376] importC: Error: cannot use non-constant CTFE pointer in an initializer

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22376 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - cb5d8b85005ea585a1c9bf9485317935bc1c4389 by Walter Bright: fix Issue 22376 - importC: Error: cannot use non-constant CTFE pointer

[Issue 22315] ImportC: #pragma pack is not implemented

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22315 --- Comment #7 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 3131d4789f3af6fab2040cfcc5897c0113e41335 by Walter Bright: fix Issue 22315 - ImportC: #pragma pack is not implemented (#13166) ht

[Issue 21950] cod1: Assertion failure for noreturn parameter

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21950 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #13209 "Merge stable into master" was merged into master: - 4a60861c30e8e6b8193ad5c531c15b3c9837430f by MoonlightSentinel: Fix 21950: Rewrite function calls depending on noreturn arguments

[Issue 22367] The __ModuleInfo member spuriously linked for modules compiler with -betterC

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22367 --- Comment #5 from Iain Buclaw --- (In reply to Mathias LANG from comment #4) > Why does `mylib1` has a module ctor ? Shouldn't `-betterC` reject it ? I think someone had the ingenuity to make module ctors `pragma(crt_constructor)` in betterC mode.

[Issue 22034] The phobos2 is not linked by default with -betterc

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22034 Mathias LANG changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 22367] The __ModuleInfo member spuriously linked for modules compiler with -betterC

2021-10-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22367 Mathias LANG changed: What|Removed |Added CC||pro.mathias.l...@gmail.com --- Comment #4 fro