[Issue 21083] Linker Failed on MacOS 10.15.3

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21083 Mathias LANG changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 21539] [REG 2.084] symbols from import inside template mixin cannot be accessed using module scope dot operator

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21539 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #3 from Razv

[Issue 21539] [REG 2.084] symbols from import inside template mixin cannot be accessed using module scope dot operator

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21539 --- Comment #4 from Steven Schveighoffer --- At first, I thought I had an easy counter-case, but this also doesn't work: void main() { import std.stdio; .writeln("hello"); // error, no symbol writeln } And this case is not a regression (at le

[Issue 9889] Incorrect rounding on floating value formatting

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9889 --- Comment #9 from Dlang Bot --- @berni44 created dlang/phobos pull request #7757 "Partial replace call to snprintf for formating floatingpoint numbers for %f and %F" fixing this issue: - Fix Issue 9889 - Incorrect rounding on floating value formatt

[Issue 20371] std.format limited to 500 characters for floats

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20371 --- Comment #4 from Dlang Bot --- @berni44 created dlang/phobos pull request #7757 "Partial replace call to snprintf for formating floatingpoint numbers for %f and %F" mentioning this issue: - Fix partially Issue 20371 - std.format limited to 500 ch

[Issue 20320] format("%f") leeds to wrong output

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20320 --- Comment #5 from Dlang Bot --- @berni44 created dlang/phobos pull request #7757 "Partial replace call to snprintf for formating floatingpoint numbers for %f and %F" mentioning this issue: - Fix partially Issue 20320 - format("%f") leeds to wrong

[Issue 21560] New: md5

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 Issue ID: 21560 Summary: md5 Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: phob

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 Witold Baryluk changed: What|Removed |Added Summary|md5 |md5 poor performance out of

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 --- Comment #2 from Witold Baryluk --- void main(string[] args) { import std.digest.md : MD5, toHexString; import std.digest : LetterCase; import std.stdio : File, writefln; foreach (filename; args[1..$]) { ubyte[32768] buffer_ = void;

[Issue 21561] New: Unsafe aliasing of immutable union member allowed in @safe code

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21561 Issue ID: 21561 Summary: Unsafe aliasing of immutable union member allowed in @safe code Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

[Issue 21561] Unsafe aliasing of immutable union member allowed in @safe code

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21561 Paul Backus changed: What|Removed |Added Keywords||safe --

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 --- Comment #3 from Witold Baryluk --- also openssl 1.1.1i-2 from Debian testing (uses 8kiB buffers): MD5(/usr/lib/live/mount/overlay/rw/var/lib/docker/devicemapper/devicemapper/data)= 009f07e9b8fb09a820dd180441502d46 real2m18.517s Similar to m

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 --- Comment #4 from Witold Baryluk --- FYI. Using File(filename).byChunk(32*1024)), to allocate buffer once on a heap, instead on a stack (which could be unaligned and use big stack offsets, leading to a bit more poor instruction encodings), leads to

[Issue 21561] Unsafe aliasing of immutable union member allowed in @safe code

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21561 Chloé changed: What|Removed |Added CC||chloe...@use.startmail.com --- Comment #1 from Chloé

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 Basile-z changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #5 from Basile-z ---

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 --- Comment #6 from Chloé --- Since you have 128 GB memory you could load the entire file into a byte array and compute the hash from there. Start the timer after loading the entire file. This should eliminate any potential difference in I/O from the

[Issue 21561] Unsafe aliasing of immutable union member allowed in @safe code

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21561 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com Hardware|x86_64

[Issue 21561] Unsafe aliasing of immutable union member allowed in @safe code

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21561 --- Comment #2 from Paul Backus --- Yes, because the data can still be modified by assigning a new value to the whole union. --- void oops() { U a = { y: 0 }; U b = { x: 1 }; assert(a.y == 0); a = b; assert(a.y == 1); } --- Stri

[Issue 21562] Allow mixin template declarations without parentheses

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21562 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --

[Issue 21562] New: Allow mixin template declarations without parentheses

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21562 Issue ID: 21562 Summary: Allow mixin template declarations without parentheses Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 21562] Allow mixin template declarations without parentheses

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

[Issue 21563] New: Make shadowing mixin template names an error

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21563 Issue ID: 21563 Summary: Make shadowing mixin template names an error Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement P

[Issue 12298] Templates can be used in mixin even when not declared as mixin template

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12298 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --

[Issue 16025] mixin myTemplate should throw an error

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16025 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --

[Issue 21564] New: Allow assignment syntax for instantiating mixin templates

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21564 Issue ID: 21564 Summary: Allow assignment syntax for instantiating mixin templates Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 21563] Make shadowing mixin template names an error

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21563 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --

[Issue 21564] Allow assignment syntax for instantiating mixin templates

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21564 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --

[Issue 21565] New: @safe code allows modification of a scalar that overlaps with a pointer

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21565 Issue ID: 21565 Summary: @safe code allows modification of a scalar that overlaps with a pointer Product: D Version: D2 Hardware: All OS: All Status:

[Issue 21565] @safe code allows modification of a scalar that overlaps with a pointer

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21565 ag0aep6g changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #1 from ag0aep6g

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 --- Comment #7 from Witold Baryluk --- (In reply to Basile-z from comment #5) > using ldc2 too ? there are option to enable best vectorization and bit op Quite a bit better with ldc2 (1.24.0 with LLVM 11.0.0, -release -mcpu=native -O3): 009f07e9b8f

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 --- Comment #8 from Witold Baryluk --- BTW. When using precompiled dmd and phobos, from dmd 2.095 from dlang.org. It is really really slow: dmd -O -inline -release -mcpu=avx2 -boundscheck=off md5.d 009f07e9b8fb09a820dd180441502d46 /usr/lib/live/mo

[Issue 21565] @safe code allows modification of a scalar that overlaps with a pointer

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

[Issue 21566] New: gen_man.d and docs/ missing in source tarball

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21566 Issue ID: 21566 Summary: gen_man.d and docs/ missing in source tarball Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 21567] New: build.d install fails, can't find dmd.conf

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21567 Issue ID: 21567 Summary: build.d install fails, can't find dmd.conf Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 21568] New: druntime posix.mak assumes git tree - fails to build using just tarball

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21568 Issue ID: 21568 Summary: druntime posix.mak assumes git tree - fails to build using just tarball Product: D Version: D2 Hardware: x86_64 OS: Linux Sta

[Issue 21565] @safe code allows modification of a scalar that overlaps with a pointer

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21565 --- Comment #3 from Steven Schveighoffer --- A union between a pointer and integer is most definitely unsafe in all instances. If you never intend to access the int*, in any circumstance, then why have a union? If you do intend to access the int *,

[Issue 21569] New: Unable to rebuild DMD build using win32.mak - v2.095.0

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21569 Issue ID: 21569 Summary: Unable to rebuild DMD build using win32.mak - v2.095.0 Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

[Issue 21560] md5 poor performance out of the box

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21560 --- Comment #9 from Witold Baryluk --- In-memory tests, on 16384 byte blocks (should fit nicely in caches). OpenSSL 1.1.1i (gcc-10.2.1 -fPIC -O2 -fstack-protector-strong ... -DOPENSSL_PIC -DMD5_ASM ...): 833MB/s standard/optimized (non-asm) C versi

[Issue 9902] The @cmdfile option is not available using PowerShell

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9902 Jesse Phillips changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 21565] @safe code allows modification of a scalar that overlaps with a pointer

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21565 --- Comment #4 from Paul Backus --- Consider the following example: --- union T { int x; int* y; } @trusted void example(T t) { import std.stdio; t.x = 123; writeln(t.x); t.y = new int; writeln(t.y); } --- This code is memory-

[Issue 21539] [REG 2.084] symbols from import inside template mixin cannot be accessed using module scope dot operator

2021-01-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21539 --- Comment #5 from RazvanN --- (In reply to Steven Schveighoffer from comment #4) > If I use: > > mixin template T() > { >import std.stdio; >alias X = T.File; > } > > It doesn't work. > > I may have to remove all . scope operators in Phob